Package-level declarations

Types

Link copied to clipboard
interface AddIceObserver
Interface to handle completion of addIceCandidate
Link copied to clipboard
Implementations of this interface can create a native webrtc::AudioDecoderFactory.
Link copied to clipboard
Implementations of this interface can create a native webrtc::AudioEncoderFactory.
Link copied to clipboard
Factory for creating webrtc::AudioProcessing instances.
Link copied to clipboard
Java wrapper for a C++ AudioSourceInterface.
Link copied to clipboard
Java wrapper for a C++ AudioTrackInterface
Link copied to clipboard
interface AudioTrackSink
Java version of rtc::AudioTrackSinkInterface.
Link copied to clipboard
Creates a native webrtc::AudioDecoderFactory with the builtin audio decoders.
Link copied to clipboard
This class creates a native webrtc::AudioEncoderFactory with the builtin audio encoders.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Base interface for camera1 and camera2 implementations.
Link copied to clipboard
Representation of a change in selected ICE candidate pair.
Link copied to clipboard
Interface for observering a capturer.
Link copied to clipboard
open class ContextUtils
Class for storing the application context and retrieving it in a static context.
Link copied to clipboard
CryptoOptions defines advanced cryptographic settings for native WebRTC.
Link copied to clipboard
open class DataChannel
Java wrapper for a C++ DataChannelInterface.
Link copied to clipboard
Link copied to clipboard
class DefaultAlignedVideoEncoderFactory(eglContext: EglBase.Context?, enableIntelVp8Encoder: Boolean = true, enableH264HighProfile: Boolean = false, resolutionAdjustment: ResolutionAdjustment) : VideoEncoderFactory

The main difference with the standard DefaultAlignedVideoEncoderFactory is that this fixes issues with resolutions that are not aligned (e.g. VP8 requires 16x16 alignment). You can set the alignment by setting resolutionAdjustment. Internally the resolution during streaming will be cropped to comply with the adjustment. Fallback behaviour is the same as with the standard DefaultVideoEncoderFactory and it will use the SW encoder if HW fails or is not available.

Link copied to clipboard
Helper class that combines HW and SW decoders.
Link copied to clipboard
Helper class that combines HW and SW encoders.
Link copied to clipboard
open class DtmfSender
Java wrapper for a C++ DtmfSenderInterface.
Link copied to clipboard
interface EglBase
Holds EGL state and utility methods for handling an egl 1.0 EGLContext, an EGLDisplay, and an EGLSurface.
Link copied to clipboard
interface EglBase10 : EglBase
EGL 1.0 implementation of EglBase.
Link copied to clipboard
interface EglBase14 : EglBase
EGL 1.4 implementation of EglBase.
Link copied to clipboard
open class EglRenderer : VideoSink
Implements VideoSink by displaying the video stream on an EGL Surface.
Link copied to clipboard
EGL graphics thread that allows multiple clients to share the same underlying EGLContext.
Link copied to clipboard
An encoded frame from a video stream.
Link copied to clipboard
Factory for creating webrtc::FecControllerFactory instances.
Link copied to clipboard
Link copied to clipboard
open class FrameCryptor
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface FrameDecryptor
The FrameDecryptor interface allows Java API users to provide a pointer to their native implementation of the FrameDecryptorInterface.
Link copied to clipboard
interface FrameEncryptor
The FrameEncryptor interface allows Java API users to provide a pointer to their native implementation of the FrameEncryptorInterface.
Link copied to clipboard
Simplest possible GL shader that just draws frames as opaque quads.
Link copied to clipboard
open class GlShader
Link copied to clipboard
Helper class for handling OpenGL framebuffer with only color attachment and no depth or stencil buffer.
Link copied to clipboard
open class GlUtil
Some OpenGL static utility functions.
Link copied to clipboard
Factory for Android hardware VideoDecoders.
Link copied to clipboard
Factory for android hardware video encoders.
Link copied to clipboard
open class IceCandidate
Representation of a single ICE Candidate, mirroring IceCandidateInterface in the C++ API.
Link copied to clipboard
Link copied to clipboard
Implementation of VideoFrame.I420Buffer backed by Java direct byte buffers.
Link copied to clipboard
open class JniCommon
Class with static JNI helper functions that are used in many places.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface Loggable
Java interface for WebRTC logging.
Link copied to clipboard
open class Logging
Java wrapper for WebRTC logging.
Link copied to clipboard
AudioProcessing factory with lifecycle management and runtime control capabilities.
Link copied to clipboard
open class MediaConstraints
Description of media constraints for MediaStream and PeerConnection.
Link copied to clipboard
open class MediaSource
Java wrapper for a C++ MediaSourceInterface.
Link copied to clipboard
open class MediaStream
Java wrapper for a C++ MediaStreamInterface.
Link copied to clipboard
open class MediaStreamTrack
Java wrapper for a C++ MediaStreamTrackInterface.
Link copied to clipboard
open class Metrics
Link copied to clipboard
Interface for loading native libraries.
Link copied to clipboard
Factory for creating webrtc::jni::OwnedPeerConnection instances.
Link copied to clipboard
Implementations of this interface can create a native webrtc::NetEqFactory.
Link copied to clipboard
Interface for detecting network changes
Link copied to clipboard
Link copied to clipboard
Factory for creating webrtc::NetworkControllerFactory instances.
Link copied to clipboard
open class NetworkMonitor
Borrowed from Chromium's src/net/android/java/src/org/chromium/net/NetworkChangeNotifier.
Link copied to clipboard
Borrowed from Chromium's src/net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.
Link copied to clipboard
Link copied to clipboard
Factory for creating webrtc::NetworkStatePredictorFactory instances.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class PeerConnection
Java-land version of the PeerConnection APIs; wraps the C++ API http://www.webrtc.org/reference/native-apis, which in turn is inspired by the JS APIs: http://dev.w3.org/2011/webrtc/editor/webrtc.html and http://www.w3.
Link copied to clipboard
PeerConnectionDependencies holds all PeerConnection dependencies that are applied per PeerConnection.
Link copied to clipboard
Java wrapper for a C++ PeerConnectionFactoryInterface.
Link copied to clipboard
Factory for Android platform software VideoDecoders.
Link copied to clipboard
interface Predicate<T>
Represents a predicate (boolean-valued function) of one argument.
Link copied to clipboard
annotation class Priority
Link copied to clipboard
interface RefCounted
Interface for ref counted objects in WebRTC.
Link copied to clipboard
open class RendererCommon
Static helper functions for renderer implementations.
Link copied to clipboard
Class to synchronize rendering updates with display refresh cycles and save power by blocking updates that exceeds the target frame rate.
Link copied to clipboard

Resolution alignment values. Generally the MULTIPLE_OF_16 is recommended for both VP8 and H264

Link copied to clipboard
Easily storable/serializable version of a native C++ RTCCertificatePEM.
Link copied to clipboard
open class RTCStats
Java version of webrtc::RTCStats.
Link copied to clipboard
Interface for receiving stats reports (see webrtc::RTCStatsCollectorCallback).
Link copied to clipboard
open class RTCStatsReport
Java version of webrtc::RTCStatsReport.
Link copied to clipboard
open class RtpCapabilities
Link copied to clipboard
open class RtpParameters
The parameters for an RtpSender, as defined in http://w3c.github.io/webrtc-pc/#rtcrtpsender-interface.
Link copied to clipboard
open class RtpReceiver
Java wrapper for a C++ RtpReceiverInterface.
Link copied to clipboard
open class RtpSender
Java wrapper for a C++ RtpSenderInterface.
Link copied to clipboard
open class RtpTransceiver
Java wrapper for a C++ RtpTransceiverInterface.
Link copied to clipboard
An implementation of VideoCapturer to capture the screen content as a video stream.
Link copied to clipboard
interface SdpObserver
Interface for observing SDP-related events.
Link copied to clipboard
Description of an RFC 4566 Session.
Link copied to clipboard
class SimulcastAlignedVideoEncoderFactory(sharedContext: EglBase.Context?, enableIntelVp8Encoder: Boolean = true, enableH264HighProfile: Boolean = false, resolutionAdjustment: ResolutionAdjustment) : VideoEncoderFactory

The main difference with the standard SimulcastVideoEncoderFactory is that this fixes issues with simulcasting resolutions that are not aligned (e.g. VP8 requires 16x16 alignment). You can set the alignment by setting resolutionAdjustment. Internally the resolutions during simulcast will be cropped to comply with the adjustment. Fallback behaviour is the same as with the standard SimulcastVideoEncoderFactory and it will use the SW encoder if HW fails or is not available.

Link copied to clipboard
open class Size
Class for representing size of an object.
Link copied to clipboard
The SSLCertificateVerifier interface allows API users to provide custom logic to verify certificates.
Link copied to clipboard
interface StatsObserver
Interface for observing Stats reports (see webrtc::StatsObservers).
Link copied to clipboard
open class StatsReport
Java version of webrtc::StatsReport.
Link copied to clipboard
Display the video stream on a Surface.
Link copied to clipboard
Helper class for using a SurfaceTexture to create WebRTC VideoFrames.
Link copied to clipboard
Display the video stream on a SurfaceView.
Link copied to clipboard
Android texture buffer that glues together the necessary information together with a generic release callback.
Link copied to clipboard
open class ThreadUtils
Link copied to clipboard
open class TimestampAligner
The TimestampAligner class helps translating camera timestamps into the same timescale as is used by rtc::TimeNanos().
Link copied to clipboard
open class TurnCustomizer
Java wrapper for a C++ TurnCustomizer.
Link copied to clipboard
interface VideoCapturer
Link copied to clipboard
open class VideoCodecInfo
Represent a video codec as encoded in SDP.
Link copied to clipboard
Status codes reported by video encoding/decoding components.
Link copied to clipboard
interface VideoDecoder
Interface for a video decoder that can be used in WebRTC.
Link copied to clipboard
Factory for creating VideoDecoders.
Link copied to clipboard
A combined video decoder that falls back on a secondary decoder if the primary decoder fails.
Link copied to clipboard
interface VideoEncoder
Interface for a video encoder that can be used with WebRTC.
Link copied to clipboard
Factory for creating VideoEncoders.
Link copied to clipboard
A combined video encoder that falls back on a secondary encoder if the primary encoder fails.
Link copied to clipboard
Can be used to save the video frames to file.
Link copied to clipboard
open class VideoFrame : RefCounted
Java version of webrtc::VideoFrame and webrtc::VideoFrameBuffer.
Link copied to clipboard
Link copied to clipboard
open class VideoFrameDrawer
Helper class to draw VideoFrames.
Link copied to clipboard
Lightweight abstraction for an object that can receive video frames, process them, and pass them on to another object.
Link copied to clipboard
interface VideoSink
Java version of rtc::VideoSinkInterface.
Link copied to clipboard
Java wrapper of native AndroidVideoTrackSource.
Link copied to clipboard
Java version of VideoTrackInterface.
Link copied to clipboard
class WebRTCException(val message: String?) : RuntimeException

Represent an exception for the RTC.

Link copied to clipboard
Wraps a native webrtc::VideoDecoder.
Link copied to clipboard
Wraps a native webrtc::VideoEncoder.
Link copied to clipboard
Class for converting OES textures to a YUV ByteBuffer.
Link copied to clipboard
open class YuvHelper
Wraps libyuv methods to Java.