When does a room become active?
A room becomes active when one or more peers join a room to start real-time video/audio interactions in a video conferencing or live streaming session.
Active room APIs
Use Active Room APIs to perform server-to-server actions that automate your business logic in 100ms rooms. These actions can be used to control peer behavior and build interactivity scenarios
- Control peers by changing roles, removing peers, and ending the room
- Build interactivity scenarios by updating peer metadata and sending broadcast/direct messages
- Retrieving the details of an active room and a specific peer will act as supporting pillars to implement the above mentioned actions.
When should I use room APIs and Active room APIs?
- Room APIs: You can use room APIs to create a room, link a template, and update room properties such as recording configuration and server region.
- Active room APIs: You can use these APIs to control peer behavior and build interactivity scenarios in an active room.
What can I build?
We have drafted some examples to help you understand how active room APIs will enable you to control peer behavior and build interactivity scenarios:
- Fetch the list of peers in an active room and perform actions like:
- To build real-time interactivity, like updating a custom avatar in the video tile, virtual poker handler for a multiplayer game, and more.
You can use our Postman collection to start exploring 100ms APIs.
Refer to the Postman guide to get started with 100ms API collection.