Live features
Build live sessions people join together
Run shared rooms such as games, whiteboards or live polls, where signed-in people see each other and act in real time.
Live sessions are shared rooms that signed-in people join, such as a quiz, a game table, a whiteboard, a live poll. The room keeps a shared state, knows who is in it, and passes everyone's actions on within a fraction of a second. It works in the preview and in the published app, and is an add-on the build AI turns on when your app needs it.
When to use it
- People act together at the same moment and must see who is there.
- The state matters only while people are in the room.
To make ordinary screens follow saved data, use live updates instead.
How to use it
Ask the build AI, or select Turn on next to Live sessions in Runtime.
Add a live quiz room. The host starts questions; players join with a room link, answer within 20 seconds and see a live scoreboard. Only the host can skip a question or remove a player.
Describe who may join, who may act and who may remove people; everything else is refused by default. The app needs sign-in, which the build AI adds if it isn't there yet. A room's state is deleted when the last person leaves; save what must last, such as final scores, to your tables.
To check it, open the room in two browsers as two people and see each join, act and leave.
Plans and limits
The same on every plan.
| Limit | Default | At most |
|---|---|---|
| People in a room | 100 | 1,000 |
| Shared state of a room | 256 KB | 1 MB |
| Time to reconnect before leaving | 30 seconds | 120 seconds |
| Actions | 10 a second | 100 a second |
| Message size | 16 KB | 16 KB |
Troubleshooting
"Full". The room reached its member limit. Ask the build AI to raise it, up to 1,000.
A person can't join ("denied"). The room's join rule doesn't let them in. Tell the build AI who should be able to join.
People drop out on a bad connection. They stay in the room for 30 seconds while reconnecting. Ask the build AI for a longer grace time, up to 120 seconds.