sourceId |
String
|
|
|
The unique source ID. Only available if the stream is multi-source. |
stereo |
Boolean
|
<optional>
|
false
|
Enable SDP support for stereo. |
dtx |
Boolean
|
<optional>
|
false
|
Enable SDP support for DTX in Opus. |
absCaptureTime |
Boolean
|
<optional>
|
false
|
Enable SDP support for an absolute capture time header extension. |
dependencyDescriptor |
Boolean
|
<optional>
|
false
|
Enable SDP support for AOM dependency descriptor header extension. |
mediaStream |
MediaStream
|
Array.<MediaStreamTrack>
|
|
|
The MediaStream to offer in a stream. This object must have
one audio track or one video track. Alternatively, you can provide both tracks in an array. |
bandwidth |
Number
|
<optional>
|
0
|
The broadcast bandwidth. Use 0 for unlimited bandwidth. |
disableVideo |
Boolean
|
<optional>
|
false
|
Disable sending a video stream. |
disableAudio |
Boolean
|
<optional>
|
false
|
Disable sending an audio stream. |
codec |
VideoCodec
|
<optional>
|
'h264'
|
The video codec for the published stream. |
simulcast |
Boolean
|
<optional>
|
false
|
Enable simulcast. Only available in Google Chrome and with H.264 or VP8 video codecs. |
scalabilityMode |
String
|
<optional>
|
null
|
The selected scalability mode. You can get the available capabilities using the PeerConnection.getCapabilities method.
Only available in Google Chrome. |
peerConfig |
RTCConfiguration
|
<optional>
|
null
|
The new RTCPeerConnection configuration. |
record |
Boolean
|
<optional>
|
false
|
Enable stream recording. If this property is not provided, the default token configuration is used. Only available in tokens with recording enabled. |
events |
Array.<String>
|
<optional>
|
null
|
Specify which events will be delivered by the server (any of "active" | "inactive" | "viewercount").* |
priority |
Number
|
<optional>
|
null
|
When multiple ingest streams are provided by the customer, add the ability to specify a priority between all ingest streams. Decimal integer between the range [-2^31, +2^31 - 1]. For more information, visit our documentation. |