-
public abstract class AudioTrack extends Track
A class representing an audio track.
-
-
Field Summary
Fields Modifier and Type Field Description private final AudioTrack
rtcTrack
private final EventListenable<TrackEvent>
events
private String
name
private Track.Kind
kind
private String
sid
private Track.StreamState
streamState
private Function1<RTCStatsCollectorCallback, Unit>
statsGetter
-
Constructor Summary
Constructors Constructor Description AudioTrack(String name, AudioTrack rtcTrack)
-
Method Summary
Modifier and Type Method Description AudioTrack
getRtcTrack()
The underlying WebRTC audio track. final EventListenable<TrackEvent>
getEvents()
final String
getName()
final Unit
setName(String name)
final Track.Kind
getKind()
final Unit
setKind(Track.Kind kind)
final String
getSid()
final Unit
setSid(String sid)
final Track.StreamState
getStreamState()
final Unit
setStreamState(Track.StreamState streamState)
final Function1<RTCStatsCollectorCallback, Unit>
getStatsGetter()
final Unit
setStatsGetter(Function1<RTCStatsCollectorCallback, Unit> statsGetter)
-
-
Constructor Detail
-
AudioTrack
AudioTrack(String name, AudioTrack rtcTrack)
-
-
Method Detail
-
getRtcTrack
AudioTrack getRtcTrack()
The underlying WebRTC audio track.
-
getEvents
final EventListenable<TrackEvent> getEvents()
-
getKind
final Track.Kind getKind()
-
setKind
final Unit setKind(Track.Kind kind)
-
getStreamState
final Track.StreamState getStreamState()
-
setStreamState
final Unit setStreamState(Track.StreamState streamState)
-
getStatsGetter
final Function1<RTCStatsCollectorCallback, Unit> getStatsGetter()
-
setStatsGetter
final Unit setStatsGetter(Function1<RTCStatsCollectorCallback, Unit> statsGetter)
-
-
-
-