W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > February 2022

Re: [webrtc-svc] Add Behavior section (#64)

From: Bernard Aboba via GitHub <sysbot+gh@w3.org>
Date: Thu, 17 Feb 2022 03:06:33 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-1042522914-1645067191-sysbot+gh@w3.org>
Yes, after calling `setCodecPreferences()`, the preferred codec could change, and therefore so would the `scalabilityMode` values in _encodings_ returned by `getParameters()`. 

This seems like it could surprise developers.  In WebRTC-PC the `setCodecPreferences()` text only indicates that it affects `createOffer()` or `createAnswer()`.  There is no mention of side effects on `getParameters()`. 

Maybe a better answer is that if `scalabilityMode` wasn't supplied in `addTransceiver()` or `setParameters()`, `getParameters()` should not return `scalabilityMode` values until negotiation is complete. 

-- 
GitHub Notification of comment by aboba
Please view or discuss this issue at https://github.com/w3c/webrtc-svc/pull/64#issuecomment-1042522914 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 17 February 2022 03:06:35 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:56 UTC