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
> [Rooms](../rooms/get-started-rooms.md) meeting will be needed for role-based streaming.
27
-
28
-
>[!IMPORTANT]
29
-
> The quick start examples here are available with the private preview version [1.11.0-alpha.20230124.1](https://www.npmjs.com/package/@azure/communication-calling/v/1.11.0-alpha.20230124.1) of the calling Web SDK. Make sure to use that or higher version when trying this quick start.
30
-
31
-
>[!IMPORTANT]
32
-
> Please contact with ACS Support team to enable live streaming for your resource.
25
+
-[Rooms](../rooms/get-started-rooms.md) meeting will be needed for role-based streaming.
26
+
- The quick start examples here are available with the private preview version [1.11.0-alpha.20230124.1](https://www.npmjs.com/package/@azure/communication-calling/v/1.11.0-alpha.20230124.1) of the calling Web SDK. Make sure to use that or higher version when trying this quick start.
27
+
- Please contact with ACS Support team to enable live streaming for your resource.
33
28
34
29
## Live Streaming with Rooms
35
-
Participants in Rooms meetings will have four roles:
36
-
1. Organizer
37
-
2. Presenter
38
-
3. Attendee
39
-
4. Consumer
40
-
41
-
Participants with `Consumer` role will be receiving only the live stream. They would not be able to speak or share video or screen. So Contoso should not show the unmute, share video, and screen option to the Consumers. Live stream supports both open and closed Rooms. In Open Rooms the default role is `Consumer`.
42
-
On the other hand, Participants with other roles will receive both real-time and live stream. Contoso can choose either stream to play.
30
+
Room participants can be assigned one of the following roles: **Presenter**, **Attendee** and **Consumer**. By default, a user is assigned an **Consumer** role, if no other role is assigned.
43
31
32
+
Participants with `Consumer` role will be receiving only the live stream. They will not be able to speak or share video or screen. Developers should not show the unmute, share video, and screen option to end users/consumers. Live stream supports both open and closed Rooms. In Open Rooms the default role is `Consumer`.
33
+
On the other hand, Participants with other roles will receive both real-time and live stream. Developers can choose either stream to play.
44
34
45
35
### Place a Rooms call (start live streaming)
46
36
Live streaming will start when the Rooms call starts.
### Count Participants in both Real-time and Streaming Media Lane
92
-
Web SDK already exposed`Call.totalParticipantCount` (available in beta release) which includes all participants count (Organizer, Presenter, Attendee, Consumer, Participants in the lobby etc.). We have added new API `Call.feature(Features.LiveStream).participantCount` under the `LiveStream` feature to have the count of streaming participants.
82
+
Web SDK already exposes`Call.totalParticipantCount` (available in beta release) which includes all participants count (Presenter, Attendee, Consumer, Participants in the lobby etc.). We have added a new API `Call.feature(Features.LiveStream).participantCount` under the `LiveStream` feature to have the count of streaming participants. `Call.feature(Features.LiveStream).participantCount` represents the number of participants receving the streaming media only.
0 commit comments