mirror of
https://github.com/samsonjs/media.git
synced 2026-04-13 12:35:48 +00:00
Mute input video player in transformer demo
PiperOrigin-RevId: 483969411
This commit is contained in:
parent
7c6d492ff1
commit
8181b3c6a1
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