Search completed in 0.88 seconds.
9 results for "setConfiguration":
RTCPeerConnection.setConfiguration() - Web APIs
the rtcpeerconnection.
setconfiguration() method sets the current configuration of the rtcpeerconnection based on the values included in the specified rtcconfiguration object.
...if, for example, the rtcpeerconnection() constructor was called with no parameters, you would have to then call
setconfiguration() to add ice servers before ice negotiation could begin.
...in this situation, one might call
setconfiguration() to switch to new regional ice servers, then initiate an ice restart.
...And 4 more matches
RTCPeerConnection.getConfiguration() - Web APIs
the returned configuration is the last configuration applied via
setconfiguration(), or if
setconfiguration() hasn't been called, the configuration the rtcpeerconnection was constructed with.
...uration = mypeerconnection.getconfiguration(); if ((configuration.certificates != undefined) && (!configuration.certificates.length)) { rtcpeerconnection.generatecertificate({ name: 'rsassa-pkcs1-v1_5', hash: 'sha-256', moduluslength: 2048, publicexponent: new uint8array([1, 0, 1]) }).then(function(cert) { configuration.certificates = [cert]; mypeerconnection.
setconfiguration(configuration); }); } this example fetches the current configuration of the rtcpeerconnection, then looks to see if it has any certificates set by examining whether or not (a) the configuration has a value for certificates, and (b) whether its length is zero.
... if it's determined that there are no certificates in place, rtcpeerconnection.generatecertificate() is called to create a new certificate; we provide a fulfillment handler which adds a new array containing the one newly-created certificate to the current configuration and passes it to
setconfiguration() to add the certificate to the connection.
Index - Web APIs
it may be passed into the constructor when instantiating a connection, or used with the rtcpeerconnection.getconfiguration() and rtcpeerconnection.
setconfiguration() methods, which allow inspecting and changing the configuration while a connection is established.
... 3456 rtcpeerconnection.
setconfiguration() configuration, experimental, method, rtcpeerconnection, reference, webrtc,
setconfiguration the rtcpeerconnection.
setconfiguration() method sets the current configuration of the rtcpeerconnection based on the values included in the specified rtcconfiguration object.
RTCConfiguration - Web APIs
it may be passed into the constructor when instantiating a connection, or used with the rtcpeerconnection.getconfiguration() and rtcpeerconnection.
setconfiguration() methods, which allow inspecting and changing the configuration while a connection is established.
... this configuration option cannot be changed after it is first specified; once the certificates have been set, this property is ignored in future calls to rtcpeerconnection.
setconfiguration().
RTCConfiguration.iceServers - Web APIs
if the list of servers is changed while a connection is already active by calling the the rtcpeerconnection method
setconfiguration(), no immediate effect occurs.
RTCPeerConnection() - Web APIs
this configuration option cannot be changed after it is first specified; once the certificates have been set, this property is ignored in future calls to rtcpeerconnection.
setconfiguration().
RTCPeerConnection - Web APIs
nd of the connection to stop sending media from the specified track, without actually removing the corresponding rtcrtpsender from the list of senders as reported by rtcpeerconnection.getsenders().restartice()the webrtc api's rtcpeerconnection interface offers the restartice() method to allow a web application to easily request that ice candidate gathering be redone on both ends of the connection.
setconfiguration() the rtcpeerconnection.
setconfiguration() method sets the current configuration of the rtcpeerconnection based on the values included in the specified rtcconfiguration object.
Lifetime of a WebRTC session - Web APIs
if you need to change the configuration of the connection in some way (such as changing to a different set of ice servers), you can do so before restarting ice by calling rtcpeerconnection.
setconfiguration() with an updated rtcconfiguration dictionary before restarting ice.