VideoTrack

Java version of VideoTrackInterface.

Constructors

Link copied to clipboard
constructor(nativeTrack: Long)

Inherited properties

Link copied to clipboard
val AUDIO_TRACK_KIND: String = "audio"
Link copied to clipboard
val VIDEO_TRACK_KIND: String = "video"

Functions

Link copied to clipboard
open fun addSink(sink: VideoSink)
Adds a VideoSink to the track.
Link copied to clipboard
open fun dispose()
Link copied to clipboard
open fun removeSink(sink: VideoSink)
Removes a VideoSink from the track.
Link copied to clipboard
open fun setShouldReceive(shouldReceive: Boolean)
For a remote video track, starts/stops receiving the video stream.
Link copied to clipboard
The current receive status for a remote video track.

Inherited functions

Link copied to clipboard
open fun enabled(): Boolean
Link copied to clipboard
open fun id(): String
Link copied to clipboard
open fun kind(): String
Link copied to clipboard
open fun setEnabled(enable: Boolean): Boolean
Link copied to clipboard