Re: [webrtc-extensions] RTCRtpEncodingParameters: scaleResolutionTo (#159)

Landscape vs portrait mode has to be addressed. There are a few different options I can think of:
- If we use a single pixel value (e.g. 360 for 360p) then it could be defined as "height if height < width, otherwise width".
- If a {width, height} dictionary is specified, we could crop-and-scale according to some rule.
- Or we add more attributes to increase specificity from the app.

Regarding if the track is smaller than requested: I don't think we should ever up-scale, so I only see two options:
- Either we send it as-is with scale factor 1.
- Or we implicitly inactive that encoding.

I don't have strong opinions, just listing options.

-- 
GitHub Notification of comment by henbos
Please view or discuss this issue at https://github.com/w3c/webrtc-extensions/issues/159#issuecomment-1506755295 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 13 April 2023 10:52:24 UTC