Skip to content

RtcSessionInterfaceConfiguration

HTTP API schema

RtcSessionInterfaceConfiguration fields

iceServersarray<RtcIceServer>

Optional public STUN configuration passed to the browser's standard RTCIceServer interface. Omitted or empty means no ICE servers. Gathering starts only when a caller deliberately initiates a session. TURN and credentials are excluded.

supportedStreamsarray<RtcSessionSupportedStream>

Discoverable media streams in SDP offer order. Directions describe the endpoint; the browser reverses SENDONLY and RECVONLY. Omitted means a video SENDONLY stream.

dataChannelsarray<RtcDataChannel>

Data channels the browser creates after media transceivers, using the standard RTCDataChannelInit options. Omitted means no data channels.

iceModestring

Whether the endpoint expects a full offer up front or supports trickle ICE.

Allowed values

  • FULL_OFFER
  • TRICKLE
sessionModesarray<string>

Session modes the endpoint accepts in initiate-session-with-offer. Omitted means SINGLE_PEER only. SHARED attaches the caller as one subscriber of a live session that several callers share.

uniqueItems: true

Itemstring

Allowed values

  • SINGLE_PEER
  • SHARED
maxSharedSubscribersinteger

Most subscribers a SHARED session holds at once. Present only when sessionModes lists SHARED.

minimum: 1

maximum: 16

messageAuthorizationRequirementsarray<RtcSessionMessageAuthorizationRequirement>

Per-message authorization requirements for RTC session messages.

View source specification ↗