Share via


RTCOfferOptions Dictionary object

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

The RTCOfferOptions dictionary customizes the offer that is created by the createOffer method.

Dictionary

Member Type Description
offerToReceiveVideo long The number of video streams to offer.
offerToReceiveAudio long The number of audio streams to offer.
voiceActivityDetection boolean "Silence" can be detected with some hardware and codecs. This member allows the application to provide information about whether it wishes this type of processing enabled or disabled. Set to true by default.
iceRestart boolean If this is set to true, the credentials of an offer change and will cause ICE to restart if the offer is returned. If this is set to false, the credentials stay the same and no restart will occur. Set to false by default.

 

See also

RTCPeerConnection