LiveSessionStartEvent interface

Start a Live session on a primary WebSocket. Send this event before other commands and wait for session.started.

Extends

Properties

event_id

A client-generated ID used to correlate this command with server events.

session

Initial configuration for a primary WebSocket. Send session.start first and wait for session.started before application commands. WebRTC creation already starts the session; do not send this event again on its data channel.

type

The Live client event type. Always session.start.

Property Details

event_id

A client-generated ID used to correlate this command with server events.

event_id?: string

Property Value

string

session

Initial configuration for a primary WebSocket. Send session.start first and wait for session.started before application commands. WebRTC creation already starts the session; do not send this event again on its data channel.

session: LiveSessionCreateParams

Property Value

type

The Live client event type. Always session.start.

type: "session.start"

Property Value

"session.start"