@@ -4634,7 +4634,7 @@ RTP matching rules
share a single SSRC numbering space [[!RFC3550]]. The restrictions arising from
this are described in [[!BUNDLE]] Sections 10.1 and 10.1.1.
@@ -7384,7 +7384,7 @@ Overview
Operation
An RTCDataChannel object is constructed from a
RTCDataTransport object (providing the transport for the
- data channel) and an RTCDataChannelParameters object.
+ data channel) and an RTCDataChannelParameters object.
An RTCDataChannel object can be garbage-collected once
readyState is closed and it is no longer referenced.
When the constructor is invoked, the following steps MUST be run:
@@ -7407,7 +7407,7 @@ Operation
existing RTCDataChannel, throw an
OperationError.
If parameters.id is equal to 65535,
- which is greater than the maximum allowed ID of 65534,
+ which is greater than the maximum allowed ID of 65534,
throw a TypeError.
@@ -7428,7 +7428,7 @@ Interface Definition
(including retransmissions) are allowed (maxPacketLifeTime).
These properties can not be used simultaneously and an attempt to do so
will result in an error. Not setting any of these properties results in
- a reliable channel.
+ a reliable channel.
There are two ways to establish a connection with
RTCDataChannel. The first way is to construct an
RTCDataChannel at one of the peers with the
@@ -8033,8 +8033,11 @@
Overview
Operation
An RTCSctpTransport is constructed from an
RTCDtlsTransport object, and optionally a port number (with a
- default of 5000, or the next unused port). If a port already in use is provided in
- the constructor, throw an InvalidParameters.
+ default of 5000, or the next unused port). If an attempt is made to construct an
+ RTCSctpTransport object with transport.state
+ closed, throw an InvalidStateError.
If a port
+ already in use is provided in the constructor, throw an
+ InvalidParameters.
An RTCSctpTransport object can be garbage-collected once
stop() is called and it is no longer referenced.
@@ -8047,6 +8050,7 @@ Interface Definition
readonly attribute RTCDtlsTransport transport;
readonly attribute RTCSctpTransportState state;
readonly attribute unsigned short port;
+ void setTransport (RTCDtlsTransport transport);
static RTCSctpCapabilities getCapabilities ();
void start (RTCSctpCapabilities remoteCaps, optional unsigned short remotePort);
void stop ();
@@ -8138,6 +8142,62 @@ Attributes
Methods
+ setTransport
+ -
+
setTransport()
+ attempts to replace the SCTP RTCDtlsTransport
+ transport with the transport provided.
+ When the setTransport() method is invoked, the user
+ agent MUST run the following steps:
+
+ -
+
If state is closed, throw
+ an InvalidStateError.
+
+ -
+
Let withTransport be the argument to this method.
+
+ -
+
If setTransport() is called with no arguments,
+ or if withTransport is unset, throw an
+ InvalidParameters.
+
+ -
+
If withTransport.state is
+ closed, throw an InvalidStateError.
+
+ -
+
Set transport to withTransport and
+ seamlessly send and receive over the new transport.
+
+
+
+
+
+ | Parameter |
+ Type |
+ Nullable |
+ Optional |
+ Description |
+
+
+ | transport |
+ RTCDtlsTransport |
+ ✘ |
+ ✘ |
+ |
+
+
+
+
+ Return type: void
+
+
+
+
+
getCapabilities, static
-
getCapabilities()