Local Screencast Video Track
A video track that captures the screen for publishing.
Note: A foreground service is generally required for use. Use startForegroundService or start your own foreground service before starting the video track.
See also
Constructors
Properties
Functions
Add a VideoSink that will receive frames.
Return the RTCStatsReport for this track, or null if none is available.
Calls the callback with the RTCStatsReport for this track, or null if none is available.
Remove a previously added VideoSink.
Restart a track with new options.
If this is a camera track, switches to the new camera determined by deviceId
Starts the capturer with the capture params contained in options.
A foreground service is generally required prior to startCapture for screen capture. This method starts up a helper foreground service that only serves to display a notification while capturing. This foreground service will automatically stop upon the end of screen capture.
Stops the capturer.
Switch to a different camera. Only works if this track is backed by a camera capturer.