Send messages on the socket
stimulation is the socket form of POST /v1/live-sessions/{sessionId}/stimulation. resume replays events after the given id without reconnecting.
Live session socket
Address
/v1/live-sessions/{sessionId}/wsDescription
A live session's events over a WebSocket, plus stimulation reports from the client.
A secret key in Authorization. Keep it on your server.
Parameters
sessionId?stringThe live session's id.
Messages
Receive events on the socket SEND
The same events as the stream, one JSON text frame each, in `sequence` order, and a `socket.error` frame when a client message is refused.
Receive webhooks SEND
Register endpoints with `POST /v1/webhook-endpoints`, choosing the event types each receives. Live-session and recording events are delivered alike; `recording.completed` and `recording.failed` exist only here and in the recording's event list, and `credits.low` only here, to live endpoints.