mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Mute input video player in transformer demo
PiperOrigin-RevId: 483969411
(cherry picked from commit 8181b3c6a1)
This commit is contained in:
parent
6b3bec8618
commit
81b3e4040d
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue