Skip to main content
POST
Error

Body

application/json

The media server's own event envelope, byte for byte as it sent it. Read only once the signature matches.

The media server defines this shape. Fields beyond the ones named here travel through and are ignored.

id
string
required

The media server's id for this event. What makes a repeat recognisable.

event
string
required

The event type. room_started, room_finished, participant_joined, participant_left, track_published and track_unpublished are read; any other is settled and ignored.

room
object

The room, by name.

participant
object

Who joined or left, by sid and identity.

track
object

Which track, by sid.

Response

Settled. outcome names what was done: published, ignored or duplicate.

received
boolean
required

Always true on this response.

outcome
enum<string>
required

What was done with the event. Not a field to branch on: the sender does not read it.

Available options:
published,
ignored,
duplicate