Search completed in 1.18 seconds.
4 results for "rtcpeerconnectionerrorcallback":
RTCPeerConnection.createAnswer() - Web APIs
e is strongly discouraged. You should update any existing code to use the Promise-based version of createAnswer() instead. The parameters for this form of createAnswer() are described below, to aid in updating existing code. successCallback An RTCSessionDescriptionCallback which will be passed a single RTCSessionDescription object describing the newly-created answer. failureCallback An
RTCPeerConnectionErrorCallback which will be passed a single DOMException object explaining why the request to create an answer failed. options Optional An optional RTCOfferOptions object providing options requested for the answer. Exceptions NotReadableError The identity provider wasn't able to provide an identity assertion. OperationError Generation of the SDP failed for some reason; this is a general failure catch...
RTCPeerConnection.createOffer() - Web APIs
ts use is strongly discouraged. You should update any existing code to use the Promise-based version of createOffer() instead. The parameters for this form of createOffer() are described below, to aid in updating existing code. successCallback An RTCSessionDescriptionCallback which will be passed a single RTCSessionDescription object describing the newly-created offer. errorCallback An
RTCPeerConnectionErrorCallback which will be passed a single DOMException object explaining why the request to create an offer failed. options Optional An optional RTCOfferOptions dictionary providing options requested for the offer. Return value A Promise whose fulfillment handler will receive an object conforming to the RTCSessionDescriptionInit dictionary which contains the SDP describing the generated offer. That rece...
RTCPeerConnection.setLocalDescription() - Web APIs
n() instead. The parameters for the older form of setLocalDescription() are described below, to aid in updating existing code. successCallback A JavaScript Function which accepts no input parameters to be be called once the description has been successfully set. At that time, the offer can be sent to a remote peer via the signaling server. errorCallback A function matching the signature
RTCPeerConnectionErrorCallback which gets called if the description can't be set. It is passed a single DOMException object explaining why the request failed. This deprecated form of the method returns instantaneously without waiting for the actual setting to be done: in case of success, the successCallback will be called; in case of failure, the errorCallback will be called. Deprecated exceptions When using the deprecated...
RTCPeerConnection.setRemoteDescription() - Web APIs
w, to aid in updating existing code. pc.setRemoteDescription(sessionDescription, successCallback, errorCallback); Parameters successCallback A JavaScript Function which accepts no input parameters to be be called once the description has been successfully set. At that time, the offer can be sent to a remote peer via the signaling server. errorCallback A function matching the signautre
RTCPeerConnectionErrorCallback which gets called if the description can't be set. It is passed a single DOMException object explaining why the request failed. This deprecated form of the method returns instantaneously without waiting for the actual setting to be done: in case of success, the successCallback will be called; in case of failure, the errorCallback will be called. Exceptions When using the deprecated callback-b...