From ad2e625db03a1c2e9c17ed26ad7ba838a1374c92 Mon Sep 17 00:00:00 2001
From: Adam Bergkvist Operation
"#widl-RTCSessionDescription-type">type is wrong for
the current signaling state of
connection, then reject p with a InvalidStateError
and abort these steps.
If the content of description is invalid,
then reject p with an
InvalidAccessError
and abort these
@@ -696,30 +698,9 @@
If description cannot be applied at the media
- layer, but the User Agent recovered, possibly by rolling back
- to the previous configuration, then reject p with
- OperationError
and abort
- these steps.
This occurs, for example, when the version of - description is older than the one currently - being used.
-Otherwise, set connection's signaling state to
- closed
.
Fire a simple event named signalingstatechange
- at connection.
Reject p with OperationError
.
For all other errors, for example if
+ description cannot be applied at the media layer,
+ reject p with OperationError
.