Commit 8181b3c6 by Googler Committed by microkatz

Mute input video player in transformer demo

PiperOrigin-RevId: 483969411
parent 7c6d492f
...@@ -508,6 +508,7 @@ public final class TransformerActivity extends AppCompatActivity { ...@@ -508,6 +508,7 @@ public final class TransformerActivity extends AppCompatActivity {
inputPlayer.setMediaItem(inputMediaItem); inputPlayer.setMediaItem(inputMediaItem);
inputPlayer.prepare(); inputPlayer.prepare();
this.inputPlayer = inputPlayer; this.inputPlayer = inputPlayer;
inputPlayer.setVolume(0f);
ExoPlayer outputPlayer = new ExoPlayer.Builder(/* context= */ this).build(); ExoPlayer outputPlayer = new ExoPlayer.Builder(/* context= */ this).build();
outputPlayerView.setPlayer(outputPlayer); outputPlayerView.setPlayer(outputPlayer);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment