W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > January 2019

Re: [webrtc-pc] Need something such as rtpSender.reset() (#2087)

From: Bernard Aboba via GitHub <sysbot+gh@w3.org>
Date: Tue, 29 Jan 2019 16:44:15 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-458613928-1548780254-sysbot+gh@w3.org>
The `rid` values are set during negotiation, which is why they are read-only.  Presumably if there is only one encoding that is active, the `rid` value becomes meaningless since `rid` head extensions should not be sent (we may need to clarify this).

Changing `rid` values in a negotiation is difficult because the `rid` attribute is read-only, and SDP can no longer be changed between `createOffer` and `setLocalDescription`.  Let us say that a conference server sent an Offer with recv RID values, but the application wants to send a re-offer that changes the values.

It does not seem like there is a way to do this. The`rid` encoding parameter is read-only so that it cannot be changed so as to modify the output of `createOffer` and the SDP can no longer be modified between `createOffer` and `setLocalDescription`.  So the only thing the application can do is to change RID values in the SDP provided by `createOffer`.  However, if it does this, the RIDs configured on the remote peer will not match what the local peer will send, so unless there is an SFU modifying the RIDs it won't work.  

GitHub Notification of comment by aboba
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2087#issuecomment-458613928 using your GitHub account
Received on Tuesday, 29 January 2019 16:44:17 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:10 UTC