Closed deckameron closed 5 years ago
Hi. From API documentation:
linearGain
: Ajusts player volume, with 0 being silence and 1 being unity gain. Default value: 1volume
: Ajusts volume ofAudioManager.STREAM_MUSIC
Also you can completely disable audio rendering with setTrackSelectionOverride
method.
Thank you @drauggres !
Is there a way to play the video only, no audio?
I tried setting the volume to 0, but turns the system media audio to 0, and not just the video.
Thank you!