Package tvi.webrtc
Class AudioTrack
java.lang.Object
tvi.webrtc.MediaStreamTrack
tvi.webrtc.AudioTrack
Java wrapper for a C++ AudioTrackInterface
-
Nested Class Summary
Nested classes/interfaces inherited from class tvi.webrtc.MediaStreamTrack
MediaStreamTrack.MediaType, MediaStreamTrack.State
-
Field Summary
Fields inherited from class tvi.webrtc.MediaStreamTrack
AUDIO_TRACK_KIND, VIDEO_TRACK_KIND
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setVolume
(double volume) Sets the volume for the underlying MediaSource.Methods inherited from class tvi.webrtc.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.
-