Skip to content

RtcSessionSupportedStream

HTTP API schema

A discoverable RTC media stream supported by an endpoint.

RtcSessionSupportedStream fields

idstringRequired

Stable identifier for the stream within the endpoint contract.

mediaKindstringRequired

Allowed values

  • AUDIO
  • VIDEO
directionstringRequired

Direction from the endpoint perspective; browser SENDONLY and RECVONLY are reversed.

Allowed values

  • SENDRECV
  • SENDONLY
  • RECVONLY
  • INACTIVE
codecsarray<string>

Ordered permitted RTP codec MIME types, such as audio/opus or video/H264. Omitted uses browser defaults.

uniqueItems: true

Itemstring

pattern: "^(audio|video)/[A-Za-z0-9.+-]+$"

maxLength: 128

View source specification ↗