Uses of Annotation Interface
org.webrtc.CalledByNative
Packages that use CalledByNative
-
Uses of CalledByNative in org.webrtc
Methods in org.webrtc with annotations of type CalledByNativeModifier and TypeMethodDescriptionprivate void
Metrics.add
(String name, Metrics.HistogramInfo info) (package private) void
MediaStream.addNativeAudioTrack
(long nativeTrack) (package private) void
MediaStream.addNativeVideoTrack
(long nativeTrack) void
Metrics.HistogramInfo.addSample
(int value, int numEvents) (package private) static RTCStats
private static RTCStatsReport
VideoDecoderFactory.createDecoder
(VideoCodecInfo info) Creates a VideoDecoder for the given codec.(package private) static VideoDecoder.Callback
VideoDecoderWrapper.createDecoderCallback
(long nativeDecoder) VideoEncoderFactory.createEncoder
(VideoCodecInfo info) Creates an encoder for the given video codec.(package private) static VideoEncoder.Callback
VideoEncoderWrapper.createEncoderCallback
(long nativeEncoder) (package private) static VideoProcessor.FrameAdaptationParameters
NativeAndroidVideoTrackSource.createFrameAdaptationParameters
(int cropX, int cropY, int cropWidth, int cropHeight, int scaleWidth, int scaleHeight, long timestampNs, boolean drop) default long
VideoDecoder.createNativeVideoDecoder()
The decoder implementation backing this interface is either 1) a Java decoder (e.g., an Android platform decoder), or alternatively 2) a native decoder (e.g., a software decoder or a C++ decoder adapter).default long
VideoEncoder.createNativeVideoEncoder()
The encoder implementation backing this interface is either 1) a Java encoder (e.g., an Android platform encoder), or alternatively 2) a native encoder (e.g., a software encoder or a C++ encoder adapter).VideoFrame.Buffer.cropAndScale
(int cropX, int cropY, int cropWidth, int cropHeight, int scaleWidth, int scaleHeight) Crops a region defined by `cropx`, `cropY`, `cropWidth` and `cropHeight`.VideoDecoder.decode
(EncodedImage frame, VideoDecoder.DecodeInfo info) Request the decoder to decode a frame.void
MediaStream.dispose()
void
RtpReceiver.dispose()
void
RtpTransceiver.dispose()
VideoEncoder.encode
(VideoFrame frame, VideoEncoder.EncodeInfo info) Requests the encoder to encode a frame.static SessionDescription.Type
SessionDescription.Type.fromCanonicalForm
(String canonical) (package private) static DataChannel.State
DataChannel.State.fromNativeIndex
(int nativeIndex) (package private) static EncodedImage.FrameType
EncodedImage.FrameType.fromNativeIndex
(int nativeIndex) (package private) static MediaSource.State
MediaSource.State.fromNativeIndex
(int nativeIndex) (package private) static MediaStreamTrack.MediaType
MediaStreamTrack.MediaType.fromNativeIndex
(int nativeIndex) (package private) static MediaStreamTrack.State
MediaStreamTrack.State.fromNativeIndex
(int nativeIndex) (package private) static PeerConnection.AdapterType
PeerConnection.AdapterType.fromNativeIndex
(int nativeIndex) (package private) static PeerConnection.IceConnectionState
PeerConnection.IceConnectionState.fromNativeIndex
(int nativeIndex) (package private) static PeerConnection.IceGatheringState
PeerConnection.IceGatheringState.fromNativeIndex
(int nativeIndex) (package private) static PeerConnection.PeerConnectionState
PeerConnection.PeerConnectionState.fromNativeIndex
(int nativeIndex) (package private) static PeerConnection.SignalingState
PeerConnection.SignalingState.fromNativeIndex
(int nativeIndex) (package private) static RtpParameters.DegradationPreference
RtpParameters.DegradationPreference.fromNativeIndex
(int nativeIndex) (package private) static RtpTransceiver.RtpTransceiverDirection
RtpTransceiver.RtpTransceiverDirection.fromNativeIndex
(int nativeIndex) (package private) boolean
RtpParameters.Encoding.getActive()
(package private) boolean
PeerConnection.RTCConfiguration.getActiveResetSrtpParams()
(package private) boolean
RtpParameters.Encoding.getAdaptivePTime()
(package private) Boolean
PeerConnection.RTCConfiguration.getAllowCodecSwitching()
boolean
VideoEncoder.EncoderInfo.getApplyAlignmentToAllSimulcastLayers()
(package private) boolean
PeerConnection.RTCConfiguration.getAudioJitterBufferFastAccelerate()
(package private) int
PeerConnection.RTCConfiguration.getAudioJitterBufferMaxPackets()
(package private) double
RtpParameters.Encoding.getBitratePriority()
private ByteBuffer
EncodedImage.getBuffer()
VideoFrame.getBuffer()
default int
VideoFrame.Buffer.getBufferType()
Representation of the underlying buffer.(package private) PeerConnection.BundlePolicy
PeerConnection.RTCConfiguration.getBundlePolicy()
(package private) PeerConnection.CandidateNetworkPolicy
PeerConnection.RTCConfiguration.getCandidateNetworkPolicy()
private long
EncodedImage.getCaptureTimeNs()
(package private) RtcCertificatePem
PeerConnection.RTCConfiguration.getCertificate()
(package private) String
RtcCertificatePem.getCertificate()
(package private) static Object
WebRtcClassLoader.getClassLoader()
(package private) Integer
RtpParameters.Codec.getClockRate()
RtpParameters.Rtcp.getCname()
(package private) List<RtpParameters.Codec>
RtpParameters.getCodecs()
(package private) Boolean
PeerConnection.RTCConfiguration.getCombinedAudioVideoBwe()
(package private) PeerConnection.ContinualGatheringPolicy
PeerConnection.RTCConfiguration.getContinualGatheringPolicy()
(package private) CryptoOptions
PeerConnection.RTCConfiguration.getCryptoOptions()
VideoFrame.I420Buffer.getDataU()
Returns a direct ByteBuffer containing U-plane data.VideoFrame.I420Buffer.getDataV()
Returns a direct ByteBuffer containing V-plane data.VideoFrame.I420Buffer.getDataY()
Returns a direct ByteBuffer containing Y-plane data.(package private) RtpParameters.DegradationPreference
RtpParameters.getDegradationPreference()
(package private) String
SessionDescription.getDescription()
(package private) int
RtpTransceiver.RtpTransceiverInit.getDirectionNativeIndex()
(package private) boolean
PeerConnectionFactory.Options.getDisableEncryption()
(package private) boolean
PeerConnection.RTCConfiguration.getDisableIpv6()
(package private) boolean
PeerConnection.RTCConfiguration.getDisableIPv6OnWifi()
(package private) boolean
PeerConnectionFactory.Options.getDisableNetworkMonitor()
boolean
CryptoOptions.Srtp.getEnableAes128Sha1_32CryptoCipher()
(package private) boolean
PeerConnection.RTCConfiguration.getEnableCpuOveruseDetection()
(package private) boolean
PeerConnection.RTCConfiguration.getEnableDscp()
boolean
CryptoOptions.Srtp.getEnableEncryptedRtpHeaderExtensions()
boolean
CryptoOptions.Srtp.getEnableGcmCryptoSuites()
(package private) boolean
PeerConnection.RTCConfiguration.getEnableImplicitRollback()
private int
EncodedImage.getEncodedHeight()
private int
EncodedImage.getEncodedWidth()
default VideoEncoder.EncoderInfo
VideoEncoder.getEncoderInfo()
VideoEncoderFactory.getEncoderSelector()
Returns a VideoEncoderSelector if implemented by the VideoEncoderFactory, null otherwise.(package private) List<RtpParameters.Encoding>
RtpParameters.getEncodings()
boolean
RtpParameters.HeaderExtension.getEncrypted()
int
VideoEncoder.ResolutionBitrateLimits.getFrameSizePixels()
private int
EncodedImage.getFrameType()
RtpParameters.getHeaderExtensions()
int
VideoFrame.Buffer.getHeight()
(package private) String
PeerConnection.IceServer.getHostname()
(package private) int
PeerConnection.RTCConfiguration.getIceBackupCandidatePairPingInterval()
(package private) int
PeerConnection.RTCConfiguration.getIceCandidatePoolSize()
(package private) Integer
PeerConnection.RTCConfiguration.getIceCheckIntervalStrongConnectivity()
(package private) Integer
PeerConnection.RTCConfiguration.getIceCheckIntervalWeakConnectivity()
(package private) Integer
PeerConnection.RTCConfiguration.getIceCheckMinInterval()
(package private) int
PeerConnection.RTCConfiguration.getIceConnectionReceivingTimeout()
(package private) List<PeerConnection.IceServer>
PeerConnection.RTCConfiguration.getIceServers()
(package private) PeerConnection.IceTransportsType
PeerConnection.RTCConfiguration.getIceTransportsType()
(package private) Integer
PeerConnection.RTCConfiguration.getIceUnwritableMinChecks()
(package private) Integer
PeerConnection.RTCConfiguration.getIceUnwritableTimeout()
(package private) int
DataChannel.Init.getId()
int
RtpParameters.HeaderExtension.getId()
VideoDecoder.getImplementationName()
Should return a descriptive name for the implementation.VideoEncoder.getImplementationName()
Should return a descriptive name for the implementation.default VideoCodecInfo[]
VideoEncoderFactory.getImplementations()
Enumerates the list of supported video codecs that can also be tagged with implementation information.(package private) static Object
MediaConstraints.KeyValuePair.getKey()
(package private) PeerConnection.KeyType
PeerConnection.RTCConfiguration.getKeyType()
(package private) MediaStreamTrack.MediaType
RtpParameters.Codec.getKind()
(package private) List<MediaConstraints.KeyValuePair>
MediaConstraints.getMandatory()
(package private) Integer
RtpParameters.Encoding.getMaxBitrateBps()
int
VideoEncoder.ResolutionBitrateLimits.getMaxBitrateBps()
(package private) Integer
RtpParameters.Encoding.getMaxFramerate()
(package private) int
PeerConnection.RTCConfiguration.getMaxIPv6Networks()
(package private) int
PeerConnection.RTCConfiguration.getMaxPort()
(package private) int
DataChannel.Init.getMaxRetransmits()
(package private) int
DataChannel.Init.getMaxRetransmitTimeMs()
(package private) Integer
RtpParameters.Encoding.getMinBitrateBps()
int
VideoEncoder.ResolutionBitrateLimits.getMinBitrateBps()
(package private) int
PeerConnection.RTCConfiguration.getMinPort()
int
VideoEncoder.ResolutionBitrateLimits.getMinStartBitrateBps()
(package private) String
RtpParameters.Codec.getName()
(package private) String
VideoCodecInfo.getName()
(package private) int
MediaStreamTrack.MediaType.getNative()
(package private) long
DataChannel.getNativeDataChannel()
(package private) int
RtpTransceiver.RtpTransceiverDirection.getNativeIndex()
(package private) long
PeerConnection.getNativeOwnedPeerConnection()
(package private) long
TurnCustomizer.getNativeTurnCustomizer()
Return a pointer to webrtc::TurnCustomizer.(package private) boolean
DataChannel.Init.getNegotiated()
(package private) int
PeerConnectionFactory.Options.getNetworkIgnoreMask()
(package private) PeerConnection.AdapterType
PeerConnection.RTCConfiguration.getNetworkPreference()
(package private) int
RtpParameters.Encoding.getNetworkPriority()
int
VideoCodecStatus.getNumber()
(package private) Integer
RtpParameters.Codec.getNumChannels()
(package private) Integer
RtpParameters.Encoding.getNumTemporalLayers()
(package private) boolean
PeerConnection.RTCConfiguration.getOfferExtmapAllowMixed()
(package private) List<MediaConstraints.KeyValuePair>
MediaConstraints.getOptional()
(package private) boolean
DataChannel.Init.getOrdered()
(package private) Map
RtpParameters.Codec.getParameters()
(package private) Map
VideoCodecInfo.getParams()
(package private) String
PeerConnection.IceServer.getPassword()
int
NaluIndex.getPayloadStartOffset()
(package private) int
RtpParameters.Codec.getPayloadType()
int
NaluIndex.getPlayloadSize()
(package private) int
PeerConnection.RTCConfiguration.getPortAllocatorFlags()
(package private) boolean
PeerConnection.RTCConfiguration.getPresumeWritableWhenFullyRelayed()
(package private) String
RtcCertificatePem.getPrivateKey()
(package private) String
DataChannel.Init.getProtocol()
(package private) boolean
PeerConnection.RTCConfiguration.getPruneTurnPorts()
private Integer
EncodedImage.getQp()
boolean
RtpParameters.Rtcp.getReducedSize()
int
VideoEncoder.EncoderInfo.getRequestedResolutionAlignment()
boolean
CryptoOptions.SFrame.getRequireFrameEncryption()
default VideoEncoder.ResolutionBitrateLimits[]
VideoEncoder.getResolutionBitrateLimits()
Returns the list of bitrate limits.(package private) String
RtpParameters.Encoding.getRid()
private int
EncodedImage.getRotation()
int
VideoFrame.getRotation()
Rotation of the frame in degrees.RtpParameters.getRtcp()
(package private) PeerConnection.RtcpMuxPolicy
PeerConnection.RTCConfiguration.getRtcpMuxPolicy()
(package private) Double
RtpParameters.Encoding.getScaleResolutionDownBy()
VideoEncoder.getScalingSettings()
Any encoder that wants to use WebRTC provided quality scaler must implement this method.(package private) static Integer
VideoEncoderWrapper.getScalingSettingsHigh
(VideoEncoder.ScalingSettings scalingSettings) (package private) static Integer
VideoEncoderWrapper.getScalingSettingsLow
(VideoEncoder.ScalingSettings scalingSettings) (package private) static boolean
VideoEncoderWrapper.getScalingSettingsOn
(VideoEncoder.ScalingSettings scalingSettings) (package private) Integer
PeerConnection.RTCConfiguration.getScreencastMinBitrate()
(package private) String
IceCandidate.getSdp()
(package private) String
IceCandidate.getSdpMid()
(package private) PeerConnection.SdpSemantics
PeerConnection.RTCConfiguration.getSdpSemantics()
(package private) List<RtpParameters.Encoding>
RtpTransceiver.RtpTransceiverInit.getSendEncodings()
CryptoOptions.getSFrame()
CryptoOptions.getSrtp()
(package private) Long
RtpParameters.Encoding.getSsrc()
(package private) Integer
PeerConnection.RTCConfiguration.getStableWritableConnectionPingIntervalMs()
int
NaluIndex.getStartOffset()
RtpTransceiver.RtpTransceiverInit.getStreamIds()
int
VideoFrame.I420Buffer.getStrideU()
int
VideoFrame.I420Buffer.getStrideV()
int
VideoFrame.I420Buffer.getStrideY()
(package private) static byte[]
JniHelper.getStringBytes
(String s) (package private) static Object
JniHelper.getStringClass()
(package private) Integer
PeerConnection.RTCConfiguration.getStunCandidateKeepaliveInterval()
default VideoCodecInfo[]
VideoDecoderFactory.getSupportedCodecs()
Enumerates the list of supported video codecs.VideoEncoderFactory.getSupportedCodecs()
Enumerates the list of supported video codecs.(package private) boolean
PeerConnection.RTCConfiguration.getSurfaceIceCandidatesOnIceTransportTypeChanged()
(package private) boolean
PeerConnection.RTCConfiguration.getSuspendBelowMinBitrate()
(package private) PeerConnection.TcpCandidatePolicy
PeerConnection.RTCConfiguration.getTcpCandidatePolicy()
long
VideoFrame.getTimestampNs()
Timestamp of the frame in nano seconds.PeerConnection.IceServer.getTlsAlpnProtocols()
(package private) PeerConnection.TlsCertPolicy
PeerConnection.IceServer.getTlsCertPolicy()
PeerConnection.IceServer.getTlsEllipticCurves()
(package private) String
RtpParameters.getTransactionId()
(package private) TurnCustomizer
PeerConnection.RTCConfiguration.getTurnCustomizer()
(package private) String
PeerConnection.RTCConfiguration.getTurnLoggingId()
(package private) PeerConnection.PortPrunePolicy
PeerConnection.RTCConfiguration.getTurnPortPrunePolicy()
(package private) String
SessionDescription.getTypeInCanonicalForm()
RtpParameters.HeaderExtension.getUri()
PeerConnection.IceServer.getUrls()
(package private) String
PeerConnection.IceServer.getUsername()
(package private) static Object
MediaConstraints.KeyValuePair.getValue()
int
VideoFrame.Buffer.getWidth()
Resolution of the buffer in pixels.VideoDecoder.initDecode
(VideoDecoder.Settings settings, VideoDecoder.Callback decodeCallback) Initializes the decoding process with specified settings.VideoEncoder.initEncode
(VideoEncoder.Settings settings, VideoEncoder.Callback encodeCallback) Initializes the encoding process.default boolean
VideoEncoder.isHardwareEncoder()
Returns true if the encoder is backed by hardware.void
JNILogging.logToInjectable
(String message, Integer severity, String tag) void
AddIceObserver.onAddFailure
(String error) Called when ICE candidate addition failed.void
PeerConnection.Observer.onAddStream
(MediaStream stream) Triggered when media is received on a new stream from remote peer.void
AddIceObserver.onAddSuccess()
Called when ICE candidate added successfully.default void
PeerConnection.Observer.onAddTrack
(RtpReceiver receiver, MediaStream[] mediaStreams) Triggered when a new track is signaled by the remote peer, as a result of setRemoteDescription.(package private) void
BuiltinAudioDecoderFactoryFactory.onAudioPacket
(int size, long timestamp, int audioLevel, boolean voiceActivity, boolean hasAudioLevel) VideoEncoderFactory.VideoEncoderSelector.onAvailableBitrate
(int kbps) Called with the current available bitrate.void
DataChannel.Observer.onBufferedAmountChange
(long previousAmount) The data channel's bufferedAmount has changed.void
StatsObserver.onComplete
(StatsReport[] reports) Called when the reports are ready.default void
PeerConnection.Observer.onConnectionChange
(PeerConnection.PeerConnectionState newState) Triggered when the PeerConnectionState changes.void
SdpObserver.onCreateFailure
(String error) Called on error of Create{Offer,Answer}().void
SdpObserver.onCreateSuccess
(SessionDescription sdp) Called on success of Create{Offer,Answer}().void
VideoEncoderFactory.VideoEncoderSelector.onCurrentEncoder
(VideoCodecInfo info) Called with the VideoCodecInfo of the currently used encoder.void
PeerConnection.Observer.onDataChannel
(DataChannel dataChannel) Triggered when a remote peer opens a DataChannel.VideoEncoderFactory.VideoEncoderSelector.onEncoderBroken()
Called when the currently used encoder signal itself as broken.void
RtpReceiver.Observer.onFirstPacketReceived
(MediaStreamTrack.MediaType media_type) void
VideoSink.onFrame
(VideoFrame frame) Implementations should call frame.retain() if they need to hold a reference to the frame after this function returns.void
PeerConnection.Observer.onIceCandidate
(IceCandidate candidate) Triggered when a new ICE candidate has been found.default void
PeerConnection.Observer.onIceCandidateError
(IceCandidateErrorEvent event) Triggered when gathering of an ICE candidate failed.void
PeerConnection.Observer.onIceCandidatesRemoved
(IceCandidate[] candidates) Triggered when some ICE candidates have been removed.void
PeerConnection.Observer.onIceConnectionChange
(PeerConnection.IceConnectionState newState) Triggered when the IceConnectionState changes.void
PeerConnection.Observer.onIceConnectionReceivingChange
(boolean receiving) Triggered when the ICE connection receiving status changes.void
PeerConnection.Observer.onIceGatheringChange
(PeerConnection.IceGatheringState newState) Triggered when the IceGatheringState changes.void
DataChannel.Observer.onMessage
(DataChannel.Buffer buffer) A data buffer was successfully received.void
PeerConnection.Observer.onRemoveStream
(MediaStream stream) Triggered when a remote peer close a stream.default void
PeerConnection.Observer.onRemoveTrack
(RtpReceiver receiver) Triggered when a previously added remote track is removed by the remote peer, as a result of setRemoteDescription.void
PeerConnection.Observer.onRenegotiationNeeded()
Triggered when renegotiation is necessary.default VideoCodecInfo
VideoEncoderFactory.VideoEncoderSelector.onResolutionChange
(int widht, int height) Called every time the encoder input resolution change.default void
PeerConnection.Observer.onSelectedCandidatePairChanged
(CandidatePairChangeEvent event) Triggered when the ICE candidate pair is changed.void
SdpObserver.onSetFailure
(String error) Called on error of Set{Local,Remote}Description().void
SdpObserver.onSetSuccess()
Called on success of Set{Local,Remote}Description().void
PeerConnection.Observer.onSignalingChange
(PeerConnection.SignalingState newState) Triggered when the SignalingState changes.default void
PeerConnection.Observer.onStandardizedIceConnectionChange
(PeerConnection.IceConnectionState newState) void
DataChannel.Observer.onStateChange()
The data channel state has changed.void
RTCStatsCollectorCallback.onStatsDelivered
(RTCStatsReport report) Called when the stats report is ready.default void
PeerConnection.Observer.onTrack
(RtpTransceiver transceiver) Triggered when the signaling from SetRemoteDescription indicates that a transceiver will be receiving media from a remote endpoint.void
RefCounted.release()
Decreases ref count by one.VideoDecoder.release()
Called when the decoder is no longer needed.VideoEncoder.release()
Releases the encoder.void
VideoFrame.Buffer.release()
void
VideoFrame.release()
(package private) void
MediaStream.removeAudioTrack
(long nativeTrack) (package private) void
MediaStream.removeVideoTrack
(long nativeTrack) void
RefCounted.retain()
Increases ref count by one.void
VideoFrame.Buffer.retain()
default VideoCodecStatus
VideoEncoder.setRates
(VideoEncoder.RateControlParameters rcParameters) Sets the bitrate allocation and the target framerate for the encoder.VideoFrame.Buffer.toI420()
Returns a memory-backed frame in I420 format.boolean
SSLCertificateVerifier.verify
(byte[] certificate) Implementations of verify allow applications to provide custom logic for verifying certificates.Constructors in org.webrtc with annotations of type CalledByNativeModifierConstructorDescriptionBitrateAllocation
(int[][] bitratesBbs) Initializes the allocation with a two dimensional array of bitrates.Buffer
(ByteBuffer data, boolean binary) (package private)
CandidatePairChangeEvent
(IceCandidate local, IceCandidate remote, int lastDataReceivedMs, String reason, int estimatedDisconnectedTimeMs) Capabilities
(boolean lossNotification) (package private)
Codec
(int payloadType, String name, MediaStreamTrack.MediaType kind, Integer clockRate, Integer numChannels, Map<String, String> parameters) DataChannel
(long nativeDataChannel) private
EncodedImage
(ByteBuffer buffer, Runnable releaseCallback, int encodedWidth, int encodedHeight, long captureTimeNs, EncodedImage.FrameType frameType, int rotation, Integer qp) EncodeInfo
(EncodedImage.FrameType[] frameTypes) (package private)
Encoding
(String rid, boolean active, double bitratePriority, int networkPriority, Integer maxBitrateBps, Integer minBitrateBps, Integer maxFramerate, Integer numTemporalLayers, Double scaleResolutionDownBy, Long ssrc, boolean adaptiveAudioPacketTime) (package private)
HeaderExtension
(String uri, int id, boolean encrypted) HistogramInfo
(int min, int max, int bucketCount) (package private)
IceCandidate
(String sdpMid, int sdpMLineIndex, String sdp, String serverUrl, PeerConnection.AdapterType adapterType) IceCandidateErrorEvent
(String address, int port, String url, int errorCode, String errorText) MediaStream
(long nativeStream) (package private)
Metrics()
NativeCapturerObserver
(long nativeSource) (package private)
PeerConnectionFactory
(long nativeFactory) RateControlParameters
(VideoEncoder.BitrateAllocation bitrate, double framerateFps) RtcCertificatePem
(String privateKey, String certificate) Instantiate an RtcCertificatePem object from stored strings.(package private)
(package private)
RtpParameters
(String transactionId, RtpParameters.DegradationPreference degradationPreference, RtpParameters.Rtcp rtcp, List<RtpParameters.HeaderExtension> headerExtensions, List<RtpParameters.Encoding> encodings, List<RtpParameters.Codec> codecs) RtpReceiver
(long nativeRtpReceiver) RtpSender
(long nativeRtpSender) protected
RtpTransceiver
(long nativeRtpTransceiver) SessionDescription
(SessionDescription.Type type, String description) Settings
(int numberOfCores, int width, int height) Settings
(int numberOfCores, int width, int height, int startBitrate, int maxFramerate, int numberOfSimulcastStreams, boolean automaticResizeOn, VideoEncoder.Capabilities capabilities) StatsReport
(String id, String type, double timestamp, StatsReport.Value[] values) VideoCodecInfo
(String name, Map<String, String> params) VideoFrame
(VideoFrame.Buffer buffer, int rotation, long timestampNs) Constructs a new VideoFrame backed by the givenbuffer
.(package private)
WrappedNativeI420Buffer
(int width, int height, ByteBuffer dataY, int strideY, ByteBuffer dataU, int strideU, ByteBuffer dataV, int strideV, long nativeBuffer) -
Uses of CalledByNative in org.webrtc.audio
Methods in org.webrtc.audio with annotations of type CalledByNativeModifier and TypeMethodDescriptionprivate boolean
WebRtcAudioRecord.enableBuiltInAEC
(boolean enable) private boolean
WebRtcAudioRecord.enableBuiltInNS
(boolean enable) private int
WebRtcAudioTrack.getBufferSizeInFrames()
private int
WebRtcAudioTrack.getInitialBufferSizeInFrames()
private int
WebRtcAudioTrack.GetPlayoutUnderrunCount()
private int
WebRtcAudioTrack.getStreamMaxVolume()
private int
WebRtcAudioTrack.getStreamVolume()
Get current volume level for a phone call audio stream.private int
WebRtcAudioTrack.initPlayout
(int sampleRate, int channels, double bufferSizeFactor) private int
WebRtcAudioRecord.initRecording
(int sampleRate, int channels) (package private) boolean
WebRtcAudioRecord.isAcousticEchoCancelerSupported()
(package private) boolean
WebRtcAudioRecord.isAudioConfigVerified()
(package private) boolean
WebRtcAudioRecord.isAudioSourceMatchingRecordingSession()
(package private) boolean
WebRtcAudioRecord.isNoiseSuppressorSupported()
void
WebRtcAudioRecord.setNativeAudioRecord
(long nativeAudioRecord) void
WebRtcAudioTrack.setNativeAudioTrack
(long nativeAudioTrack) private boolean
WebRtcAudioTrack.setStreamVolume
(int volume) private boolean
WebRtcAudioTrack.startPlayout()
private boolean
WebRtcAudioRecord.startRecording()
private boolean
WebRtcAudioTrack.stopPlayout()
private boolean
WebRtcAudioRecord.stopRecording()
Constructors in org.webrtc.audio with annotations of type CalledByNativeModifierConstructorDescription(package private)
WebRtcAudioRecord
(Object context, Object audioManager) Audio thread which keeps calling ByteBuffer.read() waiting for audio to be recorded.(package private)
WebRtcAudioTrack
(Object context, Object audioManager)