| page_type | sample | ||
|---|---|---|---|
| languages |
|
||
| Products |
|
For full instructions on how to build this code sample from scratch, look at [Quickstart: Create a room]
- An Azure account with an active subscription. Create an account for free.
- Install Python 3.7 or above.
- Create an Azure Communication Services resource. For details, see Quickstart: Create and manage Communication Services resources. You'll need to record your resource endpoint for this quickstart.
- Create a user access token. Be sure to set the scope to voip, and note the token string as well as the userId string.
- ./rooms-python-quickstart/rooms.py: contains code for managing rooms.
From a console prompt, navigate to the directory containing the rooms.py file, then execute the following command:
- pip install azure-communication-rooms==1.1.0b1
- pip install azure-communication-identity
- Open an instance of PowerShell/Windows Terminal/Command Prompt or equivalent and navigate to the directory that you'd like to clone the sample to.
git clone https://github.com/Azure-Samples/communication-services-python-quickstarts.git- With the Communication Services procured in pre-requisites, add connection string in rooms.py file at line 14
connection_string = '<connection_string>'.
From a console prompt, navigate to the directory containing the rooms.py file, then execute the following command to run the app.
python ./rooms.py