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
/
AudioTrack
Audio
Track
open
class
AudioTrack
:
MediaStreamTrack
Java wrapper for a C++ AudioTrackInterface
Members
Constructors
Audio
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
:
AudioTrackSink
)
Adds an AudioTrackSink to the track.
dispose
Link copied to clipboard
open
fun
dispose
(
)
remove
Sink
Link copied to clipboard
open
fun
removeSink
(
sink
:
AudioTrackSink
)
Removes an AudioTrackSink from the track.
set
Volume
Link copied to clipboard
open
fun
setVolume
(
volume
:
Double
)
Sets the volume for the underlying MediaSource.
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