VideoTrackCapturerToSurface

class VideoTrackCapturerToSurface(appContext: Context, surface: Surface, listener: VideoTrackCapturerToSurface.Listener?) : MediaTrackSink

Captures a video track to the specified Surface.

The track can be selected by setting the track property of this object.

Constructors

Link copied to clipboard
fun VideoTrackCapturerToSurface(appContext: Context, surface: Surface, listener: VideoTrackCapturerToSurface.Listener?)

Types

Link copied to clipboard
interface Listener

Functions

Link copied to clipboard
fun release()

Properties

Link copied to clipboard
open override var track: MediaStreamTrack?

Sets the track to capture.