Local Screencast Video Track
class LocalScreencastVideoTrack @AssistedInject() constructor(@Assisted() capturer: VideoCapturer, @Assisted() source: VideoSource, @Assisted() name: String, @Assisted() options: LocalVideoTrackOptions, @Assisted() rtcTrack: VideoTrack, @Assisted() mediaProjectionCallback: LocalScreencastVideoTrack.MediaProjectionCallback, peerConnectionFactory: PeerConnectionFactory, context: Context, eglBase: EglBase, defaultsManager: DefaultsManager, videoTrackFactory: LocalVideoTrack.Factory) : LocalVideoTrack
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
startForegroundService
Link copied to clipboard
suspend fun startForegroundService(notificationId: Int?, notification: Notification?)
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
Sources
SDK source
Link copied to clipboard