From a05dff5e1cdd821211c881f8c540b77cfca67203 Mon Sep 17 00:00:00 2001
From: aboba Methods
receiver.rtcpTransport.transport.state
to "closed".
All RTCRtpSender
s in
- senders are now considered stopped.
All RTCRtpReceiver
s in
- receivers are now considered stopped.
Let transceivers be the result of executing the
+ CollectTransceivers
algorithm. For every
+ RTCRtpTransceiver
transceiver in
+ transceivers, set
+ transceiver.stopped
to
+ true
.
Set connection's [[isClosed]] slot to
true
.
setParameters
is called on an RTCRtpSender
object, the encoding is
changed appropriately.
- An RTCRtpSender
can be stopped, which indicates that it will no longer
- send any media.
To create an RTCRtpSender with a
MediaStreamTrack
, track, a list of
MediaStream
objects, streams, and
@@ -5220,24 +5215,25 @@
RTCRtpSender
object on which
replaceTrack
is invoked.Let transceiver be the
+ RTCRtpTransceiver
object associated with
+ sender.
Let connection be the
RTCPeerConnection
object that created
sender.
If sender is stopped, return a promise
- rejected with an InvalidStateError
.
If transceiver.stopped
is
+ true
, return a promise rejected
+ with an InvalidStateError
.
Let withTrack be the argument to this method.
Let transceiver be the
- RTCRtpTransceiver
object associated with
- sender.
If withTrack.kind
differs from the
transceiver kind of transceiver, return a
@@ -6145,7 +6141,7 @@
stop
has been called or if setting the local or remote description has
- caused the RTCRtpReceiver
to be stopped.
+ caused the RTCTransceiver
to be stopped.
direction
of type RTCRtpTransceiverDirection,
@@ -8147,8 +8143,17 @@ RTCRtpSender
used to send DTMF.InvalidStateError
exception.Let transceiver be the
+ RTCRtpTransceiver
object associated with
+ sender.
transceiver.stopped
is
+ true
, throw an InvalidStateError
+ exception.transceiver.currentDirection
+ is recvonly
or inactive
,
+ throw an InvalidStateError
exception.InvalidCharacterError
@@ -8170,8 +8175,11 @@ transceiver.stopped
is
+ true
, abort these steps.transceiver.currentDirection
+ is recvonly
or inactive
,
+ abort these steps.toneBuffer
is an empty string,
fire an event named tonechange
with an