Skip to content

Commit 624b8df

Browse files
committed
Add note about changing role to Attendee or Consumer
1 parent b9637b2 commit 624b8df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ui-library-quickstart-rooms/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ This code sample showcases the ability to join a Rooms call using the CallCompos
2121
- Create a room and add you user id to the room using the provided sample scripts from the Rooms client [quickstart](https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/rooms/get-started-rooms?pivots=programming-language-javascript&tabs=windows).
2222
- First, enter your connection string from your Communication Services resource in `node .\src\scripts\settings.js` to run the Rooms client scripts.
2323
- Run the sample script to create a room by running `node .\src\scripts\createRoom.js` and copy the room id.
24-
- Run the sample script to add the user to the created room by running `node .\src\scripts\addParticipantToRoom.js <user id> <room id>`
24+
- Run the sample script to add the user as Presenter to the created room by running `node .\src\scripts\addParticipantToRoom.js <user id> <room id>`
25+
- You can also change the role of the user to Attendee or Consumer in `.\src\scripts\addParticipantToRoom.js` and rerun the script
2526

2627
## Run the code
2728

0 commit comments

Comments
 (0)