sourceId |
String
|
|
|
Source unique id. Only avialable if stream is multisource. |
stereo |
Boolean
|
|
|
True to modify SDP for support stereo. Otherwise False. |
dtx |
Boolean
|
|
|
True to modify SDP for supporting dtx in opus. Otherwise False. |
absCaptureTime |
Boolean
|
|
|
True to modify SDP for supporting absolute capture time header extension. Otherwise False. |
dependencyDescriptor |
Boolean
|
|
|
True to modify SDP for supporting aom dependency descriptor header extension. Otherwise False. |
mediaStream |
MediaStream
|
Array.<MediaStreamTrack>
|
|
|
MediaStream to offer in a stream. This object must have
1 audio track and 1 video track, or at least one of them. Alternative you can provide both tracks in an array. |
bandwidth |
Number
|
<optional>
|
0
|
Broadcast bandwidth. 0 for unlimited. |
disableVideo |
Boolean
|
<optional>
|
false
|
Disable the opportunity to send video stream. |
disableAudio |
Boolean
|
<optional>
|
false
|
Disable the opportunity to send audio stream. |
codec |
VideoCodec
|
|
|
Codec for publish stream. |
simulcast |
Boolean
|
|
|
Enable simulcast. Only available in Google Chrome and with H.264 or VP8 video codecs. |
scalabilityMode |
String
|
|
|
Selected scalability mode. You can get the available capabilities using PeerConnection.getCapabilities method.
Only available in Google Chrome. |
peerConfig |
RTCConfiguration
|
|
|
Options to configure the new RTCPeerConnection. |
record |
Boolean
|
<optional>
|
|
Enable stream recording. If record is not provided, use default Token configuration. Only available in Tokens with recording enabled. |
events |
Array.<String>
|
<optional>
|
|
Specify which events will be delivered by the server (any of "active" | "inactive" | "viewercount").* |