Mute input video player in transformer demo
PiperOrigin-RevId: 483969411
This commit is contained in:
parent
8c0f7827e2
commit
f1ca4f41b1
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user