LocalVideoTrack

class LocalVideoTrack(mediaTrack: VideoTrack, capturer: Capturer, eglBase: EglBase, val videoParameters: VideoParameters) : VideoTrack, LocalTrack

A class representing a local video track.

Internally it wraps a WebRTC VideoTrack.

Constructors

Link copied to clipboard
constructor(mediaTrack: VideoTrack, capturer: Capturer, eglBase: EglBase, videoParameters: VideoParameters)

Types

Link copied to clipboard
data class CaptureDevice(val deviceName: String, val isFrontFacing: Boolean, val isBackFacing: Boolean)
Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun addRenderer(renderer: VideoSink)
Link copied to clipboard
open override fun enabled(): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun id(): String
Link copied to clipboard
fun removeRenderer(renderer: VideoSink)
Link copied to clipboard
open override fun rtcTrack(): MediaStreamTrack
Link copied to clipboard
open override fun setEnabled(enabled: Boolean)
Link copied to clipboard
open override fun start()
Link copied to clipboard
open override fun stop()
Link copied to clipboard
fun switchCamera(deviceName: String)

Properties

Link copied to clipboard
val eglContext: EglBase.Context
Link copied to clipboard