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.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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user