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

How do I subscribe/unsubcribe to specific streams with v1.0.7 ? #84

Closed
mishig25 opened this issue Oct 26, 2020 · 3 comments
Closed

How do I subscribe/unsubcribe to specific streams with v1.0.7 ? #84

mishig25 opened this issue Oct 26, 2020 · 3 comments

Comments

@mishig25
Copy link

mishig25 commented Oct 26, 2020

When I was using v0.4.1, I can subscribe to specific streams by const remote = client.subscribe(mid); (example use case is: there 50 peers in a room, and at any moment, I only need to subscribe to 5 of the peers who are talking and ignore the other 45).
How can I achieve the same functionality with v1.0.7 ? I see that subscribe, unsubscribe methods are removed from Client class.
Thank you very much. Really appreciate what you all doing with ION!

@tomsun
Copy link

tomsun commented Oct 30, 2020

I had a similar reaction to that change. Here's another discussion
ionorg/ion-sfu#62 (comment)

And simulcast support seems to exist now:
ionorg/ion-sfu#189
#47

@tarrencev
Copy link
Contributor

yes, you can mute tracks now. we still need to add a config to unmute by default. in that case, you would receive 50 muted tracks and unmute 5 of them

@mishig25
Copy link
Author

got it; thanks for the answer!

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

3 participants