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

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