mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
Mute input video player in transformer demo
PiperOrigin-RevId: 483969411
(cherry picked from commit 8181b3c6a1)
This commit is contained in:
parent
6b3bec8618
commit
81b3e4040d
1 changed files with 1 additions and 0 deletions
|
|
@ -508,6 +508,7 @@ public final class TransformerActivity extends AppCompatActivity {
|
|||
inputPlayer.setMediaItem(inputMediaItem);
|
||||
inputPlayer.prepare();
|
||||
this.inputPlayer = inputPlayer;
|
||||
inputPlayer.setVolume(0f);
|
||||
|
||||
ExoPlayer outputPlayer = new ExoPlayer.Builder(/* context= */ this).build();
|
||||
outputPlayerView.setPlayer(outputPlayer);
|
||||
|
|
|
|||
Loading…
Reference in a new issue