Skip to content

Commit 09b1a79

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into docfx
2 parents 3d3e6f1 + e594e36 commit 09b1a79

File tree

6 files changed

+43
-32
lines changed

6 files changed

+43
-32
lines changed

articles/communication-services/quickstarts/rooms/get-started-rooms.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ title: Quickstart - Create and manage a room resource
33
titleSuffix: An Azure Communication Services quickstart
44
description: In this quickstart, you learn how to create a Room within your Azure Communication Services resource.
55
services: azure-communication-services
6-
author: radubulboaca
7-
manager: mariusu
6+
author: mayssamm
7+
manager: alexokun
88

9-
ms.author: antonsamson
10-
ms.date: 09/01/2022
9+
ms.author: mayssamm
10+
ms.date: 02/27/2025
1111
ms.topic: quickstart
1212
ms.service: azure-communication-services
1313
ms.custom: mode-other, devx-track-azurecli, devx-track-extended-java, devx-track-js, devx-track-python
@@ -28,7 +28,7 @@ The following table lists the main properties of `room` objects:
2828
| `validUntil` | Latest time a `room` can be used. |
2929
| `pstnDialOutEnabled` | Enable or disable dialing out to a PSTN number in a room.|
3030
| `participants` | List of participants to a `room`. Specified as a `CommunicationUserIdentifier`. |
31-
| `roleType` | The role of a room participant. Can be either `Presenter`, `Attendee`, or `Consumer`. |
31+
| `roleType` | The role of a room participant. Can be `Presenter`, `Attendee`, `Consumer` or `Collaborator`. |
3232

3333
::: zone pivot="platform-azcli"
3434
[!INCLUDE[Use rooms with Azure CLI](./includes/rooms-quickstart-az-cli.md)]

articles/communication-services/quickstarts/rooms/includes/rooms-quickstart-java.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
title: include file
33
description: include file
44
services: azure-communication-services
5-
author: mrayyan
5+
author: mayssamm
66
manager: alexokun
77

88
ms.service: azure-communication-services
9-
ms.date: 07/20/2023
9+
ms.date: 02/27/2025
1010
ms.topic: include
1111
ms.custom: include file
12-
ms.author: t-siddiquim
12+
ms.author: mayssamm
1313
---
1414

1515
## Prerequisites
@@ -248,11 +248,11 @@ To add or update participants to a `room`, use the `addOrUpdateParticipants` met
248248

249249
List<RoomParticipant> participantsToAddAOrUpdate = new ArrayList<>();
250250

251-
// Adding new participant
252-
participantsToAddAOrUpdate.add(participant_3.setRole(ParticipantRole.CONSUMER));
253-
254251
// Updating current participant
255-
participantsToAddAOrUpdate.add(participant_2.setRole(ParticipantRole.PRESENTER));
252+
participantsToAddAOrUpdate.add(participant_1.setRole(ParticipantRole.PRESENTER));
253+
254+
// Adding new participant
255+
participantsToAddAOrUpdate.add(participant_3.setRole(ParticipantRole.COLLABORATOR));
256256

257257
AddOrUpdateParticipantsResult addOrUpdateParticipantsResult = roomsClient.addOrUpdateParticipants(roomId, participantsToAddAOrUpdate);
258258

@@ -379,8 +379,9 @@ Updated room with validFrom: 2023-05-11T22:11:46.784Z, validUntil: 2023-05-11T22
379379
Participant(s) added/updated
380380

381381
Participants:
382-
8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000018-ac89-7c76-35f3-343a0d00e901 (Attendee)
382+
8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000018-ac89-7c76-35f3-343a0d00e901 (Presenter)
383383
8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000018-ac89-7c76-35f3-343a0d00e902 (Consumer)
384+
8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000018-ac89-7c76-35f3-343a0d00e903 (Collaborator)
384385

385386
Participant(s) removed
386387

articles/communication-services/quickstarts/rooms/includes/rooms-quickstart-javascript.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
title: include file
33
description: include file
44
services: azure-communication-services
5-
author: orwatson
5+
author: mayssamm
66
manager: alexokun
77

88
ms.service: azure-communication-services
99
ms.subservice: azure-communication-services
10-
ms.date: 06/23/2023
10+
ms.date: 02/27/2025
1111
ms.topic: include
1212
ms.custom: include file
13-
ms.author: orwatson
13+
ms.author: mayssamm
1414
---
1515

1616
## Prerequisites
@@ -224,19 +224,22 @@ To add new participants to a `room`, use the `addOrUpdateParticipants` method ex
224224

225225
```javascript
226226
// Add and update participants
227+
228+
const user3 = await identityClient.createUserAndToken(["voip"]);
229+
227230
// request payload to add and update participants
228231
const addOUpdateParticipantsList = [
229232
{
230233
id: user1.user,
231234
role: "Presenter",
232235
},
233236
{
234-
id: user2.user,
235-
role: "Consumer",
237+
id: user3.user,
238+
role: "Collaborator",
236239
}
237240
]
238241

239-
// add user2 to the room and update user1 to Presenter role
242+
// add user3 to the room and update user1 to Presenter role
240243
await roomsClient.addOrUpdateParticipants(roomId, addOUpdateParticipantsList);
241244
console.log("\nAdded and updated participants in the room");
242245
```
@@ -323,6 +326,13 @@ Retrieved participants for room:
323326
},
324327
role: 'Consumer'
325328
}
329+
{
330+
id: {
331+
kind: 'communicationUser',
332+
communicationUserId: '8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000018-ac89-7ccc-35f3-343a0d00e903'
333+
},
334+
role: 'Collaborator'
335+
}
326336

327337
Removed participants from room
328338

articles/communication-services/quickstarts/rooms/includes/rooms-quickstart-net.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
title: include file
33
description: include file
44
services: azure-communication-services
5-
author: peiliu
5+
author: mayssamm
66
manager: alexokun
77

88
ms.service: azure-communication-services
99
ms.subservice: azure-communication-services
10-
ms.date: 04/20/2023
10+
ms.date: 02/27/2025
1111
ms.topic: include
1212
ms.custom: include file
13-
ms.author: peiliu
13+
ms.author: mayssamm
1414
---
1515

1616
## Prerequisites
@@ -245,7 +245,7 @@ List<RoomParticipant> addOrUpdateParticipants = new List<RoomParticipant>();
245245
RoomParticipant participant2 = new RoomParticipant(user2) { Role = ParticipantRole.Consumer };
246246
// Add participant3
247247
CommunicationUserIdentifier user3 = identityClient.CreateUser();
248-
RoomParticipant participant3 = new RoomParticipant(user3) { Role = ParticipantRole.Attendee };
248+
RoomParticipant participant3 = new RoomParticipant(user3) { Role = ParticipantRole.Collaborator };
249249
addOrUpdateParticipants.Add(participant2);
250250
addOrUpdateParticipants.Add(participant3);
251251

@@ -326,7 +326,7 @@ Added or updated participants to room
326326
Retrieved participants from room:
327327
8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000018-ac89-7c76-35f3-343a0d00e901, Presenter
328328
8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000018-f00d-aa4b-0cf9-9c3a0d00543e, Consumer
329-
8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000018-f00d-aaf2-0cf9-9c3a0d00543f, Attendee
329+
8:acs:b6aada1f-0b1d-47ac-866f-91aae00a1d01_00000018-f00d-aaf2-0cf9-9c3a0d00543f, Collaborator
330330

331331
Removed participants from room
332332

articles/communication-services/quickstarts/rooms/includes/rooms-quickstart-python.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
title: include file
33
description: include file
44
services: azure-communication-services
5-
author: peiliu
5+
author: mayssamm
66
manager: alexokun
77

88
ms.service: azure-communication-services
99
ms.subservice: azure-communication-services
10-
ms.date: 04/27/2023
10+
ms.date: 02/27/2025
1111
ms.topic: include
1212
ms.custom: include file
13-
ms.author: peiliu
13+
ms.author: mayssamm
1414
---
1515

1616
## Prerequisites
@@ -218,7 +218,7 @@ try:
218218
participants.append(RoomParticipant(communication_identifier=user2, role=ParticipantRole.ATTENDEE))
219219

220220
# Add new participant user3
221-
participants.append(RoomParticipant(communication_identifier=user3, role=ParticipantRole.CONSUMER))
221+
participants.append(RoomParticipant(communication_identifier=user3, role=ParticipantRole.COLLABORATOR))
222222
rooms_client.add_or_update_participants(room_id=room_id, participants=participants)
223223
print("\nAdd or update participants in room")
224224

@@ -305,7 +305,7 @@ Add or update participants in room
305305
Participants in Room Id : 99445276259151407
306306
8:acs:42a0ff0c-356d-4487-a288-ad0aad95d504_00000018-ef00-6042-a166-563a0d0051c1 Presenter
307307
8:acs:42a0ff0c-356d-4487-a288-ad0aad95d504_00000018-ef00-6136-a166-563a0d0051c2 Consumer
308-
8:acs:42a0ff0c-356d-4487-a288-ad0aad95d504_00000018-ef00-61fd-a166-563a0d0051c3 Attendee
308+
8:acs:42a0ff0c-356d-4487-a288-ad0aad95d504_00000018-ef00-61fd-a166-563a0d0051c3 Collaborator
309309

310310
Removed participants from room
311311

articles/communication-services/quickstarts/rooms/manage-rooms-call.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ title: Quickstart - Manage a room call
33
titleSuffix: An Azure Communication Services Quickstart
44
description: In this quickstart, you learn how to manage a room call using Calling SDKs and Call Automation SDKs
55
services: azure-communication-services
6-
author: mikehang
6+
author: mayssamm
77
manager: alexokun
88

9-
ms.author: mikehang
10-
ms.date: 07/10/2024
9+
ms.author: mayssamm
10+
ms.date: 02/27/2025
1111
ms.topic: quickstart
1212
ms.service: azure-communication-services
1313
ms.custom: mode-other

0 commit comments

Comments
 (0)