Session setup with multiple web clients #331
-
I have a few questions about a scenario in which all clients will usually be browser-based (but sometimes some of them might be in a headless browser). Before the questions, here's the scenario:
Here are the questions:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
For questions 1 through 3, I found: |
Beta Was this translation helpful? Give feedback.
-
Hi @ModalityZ, that is correct, there are separate endpoints for master and viewers please see the WebSocket API Reference. A distinction is made between the two roles due to the differences in permissions/behaviors that they will have, please see the GetSignalingChannelEndpoint Documentation for more details. If a session has multiple viewers, there will be no data nor media sent between the viewers - only between the master and each of the viewers. |
Beta Was this translation helpful? Give feedback.
-
I really appreciate your response @stefankiesz I consider it the answer. But some comments: I can see that the endpoints for masters and viewers are different, but from a design standpoint it is not clear to me why. To accommodate more use-cases, I would have expected all endpoints to be the same but the first for a channel would be permitted to request "host" permissions. This would allow the host to transfer those permissions later in a session. The current design seems limited to use-cases similar to a music concert or lecture where no flexibility is needed to change the host. Similarly, it's not clear to me why the design is to prevent non-hosts from hearing and seeing each other, if that is what the host would want. My use-case fits KVSW's design, but I think KVSW is a potentially more attractive option than Chime because KVSW allows keeping all data within the region. |
Beta Was this translation helpful? Give feedback.
Hi @ModalityZ, that is correct, there are separate endpoints for master and viewers please see the WebSocket API Reference.
A distinction is made between the two roles due to the differences in permissions/behaviors that they will have, please see the GetSignalingChannelEndpoint Documentation for more details.
If a session has multiple viewers, there will be no data nor media sent between the viewers - only between the master and each of the viewers.