Skip to content

Commit 4dff0b1

Browse files
Update get-started-live-stream.md
1 parent a3fdbf1 commit 4dff0b1

File tree

1 file changed

+7
-17
lines changed

1 file changed

+7
-17
lines changed

articles/communication-services/quickstarts/voice-video-calling/get-started-live-stream.md

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,15 @@ attendees while enabling some attendees to share their live audio and video, int
2222
## Prerequisites
2323
[!INCLUDE [Public Preview](../../includes/private-preview-include-section.md)]
2424

25-
>[!IMPORTANT]
26-
> [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.
3328

3429
## 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.
4331

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.
4434

4535
### Place a Rooms call (start live streaming)
4636
Live streaming will start when the Rooms call starts.
@@ -89,7 +79,7 @@ const subscribeToLiveVideoStream = async (liveVideoStream) => {
8979
```
9080
9181
### 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.
9383
9484
```typescript
9585
call.feature(Features.LiveStream).on('participantCountChanged', e => {

0 commit comments

Comments
 (0)