stream-webrtc-android
Toggle table of contents
1.3.6
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
stream-webrtc-android
stream-webrtc-android
/
org.webrtc
/
VideoTrack
Video
Track
open
class
VideoTrack
:
MediaStreamTrack
Java version of VideoTrackInterface.
Members
Constructors
Video
Track
Link copied to clipboard
constructor
(
nativeTrack
:
Long
)
Inherited properties
AUDIO_
TRACK_
KIND
Link copied to clipboard
val
AUDIO_TRACK_KIND
:
String
=
"audio"
VIDEO_
TRACK_
KIND
Link copied to clipboard
val
VIDEO_TRACK_KIND
:
String
=
"video"
Functions
add
Sink
Link copied to clipboard
open
fun
addSink
(
sink
:
VideoSink
)
Adds a VideoSink to the track.
dispose
Link copied to clipboard
open
fun
dispose
(
)
remove
Sink
Link copied to clipboard
open
fun
removeSink
(
sink
:
VideoSink
)
Removes a VideoSink from the track.
set
Should
Receive
Link copied to clipboard
open
fun
setShouldReceive
(
shouldReceive
:
Boolean
)
For a remote video track, starts/stops receiving the video stream.
should
Receive
Link copied to clipboard
open
fun
shouldReceive
(
)
:
Boolean
The current receive status for a remote video track.
Inherited functions
enabled
Link copied to clipboard
open
fun
enabled
(
)
:
Boolean
id
Link copied to clipboard
open
fun
id
(
)
:
String
is
Disposed
Link copied to clipboard
open
fun
isDisposed
(
)
:
Boolean
kind
Link copied to clipboard
open
fun
kind
(
)
:
String
set
Enabled
Link copied to clipboard
open
fun
setEnabled
(
enable
:
Boolean
)
:
Boolean
state
Link copied to clipboard
open
fun
state
(
)
:
MediaStreamTrack.State