Local Video Track
open class LocalVideoTrack @AssistedInject() constructor(@Assisted() capturer: VideoCapturer, @Assisted() source: VideoSource, @Assisted() name: String, @Assisted() options: LocalVideoTrackOptions, @Assisted() rtcTrack: VideoTrack, peerConnectionFactory: PeerConnectionFactory, context: Context, eglBase: EglBase, defaultsManager: DefaultsManager, trackFactory: LocalVideoTrack.Factory) : VideoTrack
Content copied to clipboard
A representation of a local video track (generally input coming from camera or screen).
startCapture should be called before use.
Constructors
LocalVideoTrack
Link copied to clipboard
@AssistedInject()
Content copied to clipboard
Types
Functions
addRenderer
Link copied to clipboard
getRTCStats
Link copied to clipboard
removeRenderer
Link copied to clipboard
restartTrack
Link copied to clipboard
fun restartTrack(options: LocalVideoTrackOptions = defaultsManager.videoTrackCaptureDefaults.copy())
Content copied to clipboard
setDeviceId
Link copied to clipboard
setPublishingCodecs
Link copied to clipboard
startCapture
Link copied to clipboard
open fun startCapture()
Content copied to clipboard
stopCapture
Link copied to clipboard
open fun stopCapture()
Content copied to clipboard
switchCamera
Link copied to clipboard
fun switchCamera(deviceId: String? = null, position: CameraPosition? = null)
Content copied to clipboard
Properties
dimensions
Link copied to clipboard
events
Link copied to clipboard
kind
Link copied to clipboard
options
Link copied to clipboard
statsGetter
Link copied to clipboard
streamState
Link copied to clipboard
Inheritors
LocalScreencastVideoTrack
Link copied to clipboard
Sources
SDK source
Link copied to clipboard