Package com.twilio.video
Class AudioTrack
java.lang.Object
com.twilio.video.AudioTrack
- All Implemented Interfaces:
Track
- Direct Known Subclasses:
LocalAudioTrack
,RemoteAudioTrack
-
Field Summary
Modifier and TypeFieldDescription -
Method Summary
-
Field Details
-
audioSinks
-
-
Method Details
-
isEnabled
public boolean isEnabled()Check if this audio track is enabled. -
getName
Returns the audio track name. A pseudo random string is returned if no track name was specified. -
addSink
Adds a sink to the Track. Sinks consume raw audio samples for further processing or storage. -
removeSink
Removes a sink from the Track.- Parameters:
audioSink
- An object that implements the `AudioSink` interface.
-