Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Which part shall I modify if I want to display 2 stream simultaneously? #1753

Closed
MegaThomas opened this issue Aug 19, 2016 · 2 comments
Closed
Labels

Comments

@MegaThomas
Copy link

I'm trying to play 2 streams side-by-side. I've tried to add more videoRenderer (like 2 videoRenderers, 1 audioRenderers & textRenderer) in the DemoPlayer, but I found ExoPlayerImpl has selectedTrackIndices which limit the number of active video tracks.

I suppose I can't use 2 players since I want to efficiently sync them. Which part of the video rendering pipeline should I change besides ExoPlayerImpl?

@palfu
Copy link

palfu commented Oct 12, 2016

in release-v1,

player.setSelectedTrack(TYPE_VIDEO, 0);
player.setSelectedTrack(TYPE_VIDEO1, 1);

work?

@ojw28
Copy link
Contributor

ojw28 commented May 24, 2017

For V2, this is answered in #2855.

@ojw28 ojw28 closed this as completed May 24, 2017
@google google locked and limited conversation to collaborators Sep 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants