Room Links
A Room Link is a link that a peer
can use to Join a Room. It is always associated to a specific Room and Role, allowing unique Room Links for each Role in a Room.
In order to construct a Room Link for a Role, you need a Role specific Room Code. It is a unique encrypted code that depicts a unique room_id and role combination. Read more on Room Codes. With 100ms, two types of Room Links formats are supported: Prebuilt and Custom Domain Room Links.
Prebuilt Room Links
If you're using 100ms Prebuilt solution, the Room Link looks like : https://<template-subdomain>/meeting/<room-code>
template-subdomain
: This the subdomain that you’ve defined at the time of Template creation on 100ms dashboard.room-code
: This belongs to a uniqueroom_id
androle
for which you're creating the Room Link
Head over to Construct a Prebuilt Room Link for details.
Custom Domain Room Links
If you're using 100ms sample apps or building from scratch, you'd need to construct a custom Room Link to embed or share it with your users. A custom domain Room Link looks like https://<your-domain>/<room-code>
your-domain
: This allows you to define a customised Room Linkroom-code
: This belongs to a uniqueroom_id
androle
for which you're creating the Room Link
Sample Workflow
- Create a Template, Room and at least one Role
- Use Create Room Code to generate Room Codes for one or more Roles in a Room
- Retrieve Room Codes for each Role in the Room.
- Construct your custom domain Room link using the retrieved Room Code for each role in the Room.
Make sure to use only enabled Room Codes to create Room Links. Read about Room Code Basics