WebRtcMedia

An object containing Media Capture abstractions. Media Capturing is platform- and implementation-specific, so here we encapsulate only the essential parts for the WebRtc communication. The links describe the standard browser API, though some platforms could have different behaviors.

Report a problem

Types

Link copied to clipboard

Interface representing an audio track.

Link copied to clipboard
data class AudioTrackConstraints(var volume: Double? = null, var sampleRate: Int? = null, var sampleSize: Int? = null, var echoCancellation: Boolean? = null, var autoGainControl: Boolean? = null, var noiseSuppression: Boolean? = null, var latency: Double? = null, var channelCount: Int? = null)

Constraints for audio tracks.

Link copied to clipboard
class DeviceException(message: String?, cause: Throwable? = null) : RuntimeException

Exception thrown when there is an issue with a media device.

Link copied to clipboard

Enum representing the facing mode of a camera.

Link copied to clipboard

Exception thrown when media permissions are not granted.

Link copied to clipboard

Enum representing the resize mode for video tracks.

Link copied to clipboard
interface Track : AutoCloseable

Interface representing a media track.

Link copied to clipboard

Enum representing the type of media track.

Link copied to clipboard

Interface representing a video track.

Link copied to clipboard
data class VideoTrackConstraints(var width: Int? = null, var height: Int? = null, var frameRate: Int? = null, var aspectRatio: Double? = null, var facingMode: WebRtcMedia.FacingMode? = null, var resizeMode: WebRtcMedia.ResizeMode? = null)

Constraints for video tracks.