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

Having multiple senders connected, keep playing when one device disconnects #55

Open
pau-carreno opened this issue Feb 7, 2024 · 0 comments

Comments

@pau-carreno
Copy link

Hi Team,

I'm trying a find a solution where having multiple senders connected to a receiver, when one of them is disconnected, the playback keeps playing.

I have found that in the sender we can set some parameters when disconnecting to keep playing, but the receiver always stops.

In Android we are trying to disconnect in different ways to try to achieve this:
mediaRouter.unselect(MediaRouter.UNSELECT_REASON_DISCONNECTED)
sessionManager.endCurrentSession(false)
mediaRouter.selectRoute(mediaRouter.defaultRoute)

Please let me know it this is possible and how it could be done?

Thanks

@pau-carreno pau-carreno changed the title On multisender keep playing when one device disconnects Having multiple senders connected, keep playing when one device disconnects Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant