createScreencastTrack

fun createScreencastTrack(name: String = "", mediaProjectionPermissionResultData: Intent): LocalScreencastVideoTrack

Creates a screencast video track.

Parameters

mediaProjectionPermissionResultData

The resultData returned from launching MediaProjectionManager.createScreenCaptureIntent().

Sources

SDK source
Link copied to clipboard