create Screencast Track
fun createScreencastTrack(name: String = "", mediaProjectionPermissionResultData: Intent, options: LocalVideoTrackOptions = screenShareTrackCaptureDefaults.copy(), videoProcessor: VideoProcessor? = null): LocalScreencastVideoTrack
Creates a screencast video track.
Parameters
name
The name of the track.
media Projection Permission Result Data
The resultData returned from launching MediaProjectionManager.createScreenCaptureIntent().
options
The capture options to use for this track, or Room.screenShareTrackCaptureDefaults if none is passed.
video Processor
A video processor to attach to this track that can modify the frames before publishing.