Package com.telnyx.webrtc.lib
Class AudioTrack
java.lang.Object
com.telnyx.webrtc.lib.MediaStreamTrack
com.telnyx.webrtc.lib.AudioTrack
Java wrapper for a C++ AudioTrackInterface
-
Nested Class Summary
Nested classes/interfaces inherited from class com.telnyx.webrtc.lib.MediaStreamTrack
MediaStreamTrack.MediaType, MediaStreamTrack.State
-
Field Summary
Fields inherited from class com.telnyx.webrtc.lib.MediaStreamTrack
AUDIO_TRACK_KIND, VIDEO_TRACK_KIND
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setVolume
(double volume) Sets the volume for the underlying MediaSource.Methods inherited from class com.telnyx.webrtc.lib.MediaStreamTrack
dispose, enabled, id, kind, setEnabled, state
-
Constructor Details
-
AudioTrack
public AudioTrack(long nativeTrack)
-
-
Method Details
-
setVolume
public void setVolume(double volume) Sets the volume for the underlying MediaSource. Volume is a gain value in the range 0 to 10.
-