Question: Is it possible to use multiple CastPlayers at once?
- Dominant language
- Java
- Stars
- 21.9k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I have seen very little info on this on the internet so I thought I'd ask the experts.
I have an audio only application that can have multiple instances of exoplayer instantiated at a given time to overlap the audio output. (think of an audiobook with a soundtrack played over it) I manage all of these instances via a manager in a MediaBrowserService.
I am interested in integrated Google Cast into my application with the recent news of conversational actions being shut down. I have taken a look at the UAMP repo and see they instantiate their cast players and switch between the exoplayer instance / cast player instance depending on the cast selection from the user.
I was wondering has anyone tried or know if multiple CastPlayer's can stream to a speaker at once? I've seen plenty of examples of just switching a single exoplayer instance but am curious if multiple instances would work?
Edit: What I am looking for is similar to how the google home app can capture the entire audio output and stream it to a device
Thanks!
Contributor guide
Assessment
This issue has not been assessed yet.