Loop/Architecture/Rooms: Difference between revisions

Line 461: Line 461:
==== Updating Session State ====
==== Updating Session State ====
In order to track room state for metric purposes, the client will also send a POST message to the "/rooms/{token}" endpoint whenever a state change occurs, according to the following state machine:
In order to track room state for metric purposes, the client will also send a POST message to the "/rooms/{token}" endpoint whenever a state change occurs, according to the following state machine:
 
[[File:loop-room-state.png|center|Room Session State Diagram]]
<center><graphviz format="png" renderer="dot">
<center><graphviz format="png" renderer="dot">
digraph loop_room_state {
digraph loop_room_state {
Confirmed users
632

edits