Commit f1ca4f41 by tofunmi Committed by microkatz

Mute input video player in transformer demo

PiperOrigin-RevId: 483969411
parent 8c0f7827
......@@ -507,6 +507,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);
......
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