From 85fb8fad45a645a8fa098743c7d2fa21cfbfb2e7 Mon Sep 17 00:00:00 2001
From: Jan-Ivar Bruaroey
following steps:
+ If transceiver.
+ {{RTCRtpTransceiver/[[Sender]]}}.{{RTCRtpSender/[[SendEncodings]]}}
+ .length is greater than 1
, then
+ run the following steps:
+
+ If description is missing + all of the previously negotiated layers, + then remove all dictionaries in + transceiver.{{RTCRtpTransceiver/[[Sender]]}}.{{RTCRtpSender/[[SendEncodings]]}} + except the first one, and skip the next + step. +
++ If description is missing any of + the previously negototiated layers, then + remove the dictionaries that correspond to + the missing layers from + transceiver.{{RTCRtpTransceiver/[[Sender]]}}.{{RTCRtpSender/[[SendEncodings]]}}. +
+Set @@ -4011,18 +4040,29 @@
- If the length of the {{RTCRtpSender/[[SendEncodings]]}} slot
- of the {{RTCRtpSender}} is larger than 1, then for
- each encoding given in {{RTCRtpSender/[[SendEncodings]]}} of
- the {{RTCRtpSender}}, add an a=rid send
line to the corresponding
- media section, and add an a=simulcast:send
line giving the RIDs
- in the same order as given in the
- {{RTCRtpSendParameters/encodings}} field. No RID
- restrictions are set.
+ If this is an answer to an offer to receive
+ simulcast, then for each media section requesting
+ to receive simulcast, exclude from the media section
+ in the answer any RID not found in the corresponding
+ transceiver's
+ {{RTCRtpTransceiver/[[Sender]]}}.{{RTCRtpSender/[[SendEncodings]]}}.
+ If there are any identically named RIDs, remove all
+ but the first one. No RID restrictions are set.
+ When a {{RTCPeerConnection/setRemoteDescription(offer)}} + establishes a transceiver's [=simulcast envelope=], + the transceiver's + {{RTCRtpTransceiver/[[Sender]]}}.{{RTCRtpSender/[[SendEncodings]]}} is updated in + {{RTCSignalingState/"have-remote-offer"}}. However, + once a simulcast envelope has been established for + the transceiver, subsequent pruning of the transceiver's + {{RTCRtpTransceiver/[[Sender]]}}.{{RTCRtpSender/[[SendEncodings]]}} happen when this answer is set + with {{RTCPeerConnection/setLocalDescription}}. +
++ When a + {{RTCPeerConnection/setRemoteDescription(offer)}} + establishes a transceiver's [=simulcast envelope=], + the transceiver's + {{RTCRtpTransceiver/[[Sender]]}}.{{RTCRtpSender/[[SendEncodings]]}} + is updated in + {{RTCSignalingState/"have-remote-offer"}}. However, + once a simulcast envelope has been established for + the transceiver, subsequent pruning of the + transceiver's + {{RTCRtpTransceiver/[[Sender]]}}.{{RTCRtpSender/[[SendEncodings]]}} + happen when this answer is set with + {{RTCPeerConnection/setLocalDescription}}. +
+- When a {{RTCPeerConnection/setRemoteDescription(offer)}} - establishes a transceiver's [=simulcast envelope=], - the transceiver's - {{RTCRtpTransceiver/[[Sender]]}}.{{RTCRtpSender/[[SendEncodings]]}} is updated in - {{RTCSignalingState/"have-remote-offer"}}. However, - once a simulcast envelope has been established for - the transceiver, subsequent pruning of the transceiver's - {{RTCRtpTransceiver/[[Sender]]}}.{{RTCRtpSender/[[SendEncodings]]}} happen when this answer is set - with {{RTCPeerConnection/setLocalDescription}}. -
-a=simulcast
attribute, remove all
but the first one. No RID restrictions are set.
a=simulcast
attribute, remove all
- but the first one. No RID restrictions are set.
+ duplicates except the first one. No RID restrictions are set.
From 5ac0293ada440c653e9125fcb268245ea5c2880e Mon Sep 17 00:00:00 2001
From: Jan-Ivar Bruaroey 4.4.1.5
run the following steps for each media
description in description:
If the media description was not yet associated with an
@@ -4512,7 +4512,7 @@ RTCRtpTransceiver
The codec preferences of an m= section's diff --git a/webrtc.html b/webrtc.html index 5009c3b80..51bf869fc 100644 --- a/webrtc.html +++ b/webrtc.html @@ -2148,7 +2148,7 @@
If the [= media description =] was not yet [= @@ -3994,7 +3994,7 @@
The codec preferences of an m= section's
From b5480e2a932cc8b61f70e7afb9c0341ff18b5fc2 Mon Sep 17 00:00:00 2001
From: Jan-Ivar Bruaroey