You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to init a client and set its role on the session (Publisher or Subscriber or both).
A publisher will only send data.
A subscriber will only receive data.
Motivation
I want to create an app where theres 1 subscriber and multiple publishers but I want them all on the same session.
There are N publishers and 1 subscriber.
I want the server to only route the video of the publishers to the subscriber, and not to the other publishers since they are not going to consume any video, only send.
Describe alternatives you've considered
client.create({
sid: sid,
uid: uid,
signal: signal,
role: role // Maybe this can be an array of roles
});
The text was updated successfully, but these errors were encountered:
Summary
I want to init a client and set its role on the session (Publisher or Subscriber or both).
A publisher will only send data.
A subscriber will only receive data.
Motivation
I want to create an app where theres 1 subscriber and multiple publishers but I want them all on the same session.
There are N publishers and 1 subscriber.
I want the server to only route the video of the publishers to the subscriber, and not to the other publishers since they are not going to consume any video, only send.
Describe alternatives you've considered
The text was updated successfully, but these errors were encountered: