Rooms

Replace the room's audio routing matrix

Changed on

Atomically replaces the room's audio routing matrix and recomputes every leg's per-listener source whitelist in one mixer-mutex acquisition. The next mix tick (≤ 20 ms) reflects the new routing. Roles are operator-supplied strings (e.g. "customer", "agent", "supervisor"). A leg with no role defaults to full mesh.

put/rooms/{id}/routing

Request

  • Base URL
    http://localhost:8080/v1
  • URL
    http://localhost:8080/v1/rooms/{id}/routing
  • Auth
    none declared

Request body

matrixobject required

Listener-role → list of allowed source roles. Omitted listener roles default to full mesh. Empty list = hears nothing.

Response

Updated matrix

matrixobject required

Listener-role → list of allowed source roles. Roles absent from the matrix default to full mesh.

Changes