Package-level declarations

Types

Link copied to clipboard
class AndroidAudioTrack(nativeTrack: MediaStreamTrack, onDispose: () -> Unit? = null) : WebRtcMedia.AudioTrack, AndroidMediaTrack
Link copied to clipboard
class AndroidMediaDevices(context: Context, eglBase: EglBase = EglBase.create()) : MediaTrackFactory

MediaDevicesFactory based on the org.webrtc, which uses Android Camera2 API

Link copied to clipboard
abstract class AndroidMediaTrack(nativeTrack: MediaStreamTrack, onDispose: () -> Unit?) : WebRtcMedia.Track

Wrapper for org.webrtc.MediaStreamTrack.

Link copied to clipboard
class AndroidVideoTrack(nativeTrack: MediaStreamTrack, onDispose: () -> Unit? = null) : WebRtcMedia.VideoTrack, AndroidMediaTrack
Link copied to clipboard
class CameraVideoCapturer(constraints: WebRtcMedia.VideoTrackConstraints, videoCapturerDelegate: RTCVideoCapturerDelegateProtocol) : Capturer

Camera video capturer that captures live video from device cameras.

Link copied to clipboard

Represents a media capturer that controls the start and stop of media capture operations.

Link copied to clipboard
class IosAudioTrack(nativeTrack: RTCMediaStreamTrack, onDispose: () -> Unit = {}) : WebRtcMedia.AudioTrack, IosMediaTrack

iOS-specific implementation of an audio track that wraps RTCMediaStreamTrack.

Link copied to clipboard
class IosMediaDevices(videoCapturerFactory: VideoCapturerFactory = defaultVideoCapturerFactory()) : MediaTrackFactory

iOS-specific implementation of MediaTrackFactory for WebRTC media operations.

Link copied to clipboard
abstract class IosMediaTrack(nativeTrack: RTCMediaStreamTrack, onDispose: () -> Unit) : WebRtcMedia.Track

iOS-specific implementation of a WebRTC media track that wraps native RTCMediaStreamTrack.

Link copied to clipboard
class IosVideoTrack(nativeTrack: RTCMediaStreamTrack, onDispose: () -> Unit = {}) : WebRtcMedia.VideoTrack, IosMediaTrack

iOS-specific implementation of a video track that wraps RTCMediaStreamTrack.

Link copied to clipboard
class SimulatorVideoCapturer(constraints: WebRtcMedia.VideoTrackConstraints, videoCapturerDelegate: RTCVideoCapturerDelegateProtocol) : Capturer

Sample video capturer that generates synthetic video frames with animated gradient patterns.

Link copied to clipboard

Functions

Link copied to clipboard

Creates a default video capturer factory for the current platform.

Link copied to clipboard

Returns implementation of the native audio stream track used under the hood. Use it with caution.

Returns implementation of the native video stream track used under the hood. Use it with caution.

fun WebRtcMedia.AudioTrack.getNative(): RTCAudioTrack

Returns implementation of the native audio stream track used under the hood. Use it with caution.

fun WebRtcMedia.VideoTrack.getNative(): RTCVideoTrack

Returns implementation of the native video stream track used under the hood. Use it with caution.