- From: Florent Castelli via GitHub <sysbot+gh@w3.org>
- Date: Thu, 13 Apr 2023 10:30:17 +0000
- To: public-webrtc-logs@w3.org
We should not have any senders with 0 encodings. The algorithm to create an `RTCRtpSender` says: > If sendEncodings is given as input to this algorithm, and is non-empty, set the [[[SendEncodings]]](https://w3c.github.io/webrtc-pc/#dfn-sendencodings) slot to sendEncodings. Otherwise, set it to a list containing a single new [RTCRtpEncodingParameters](https://w3c.github.io/webrtc-pc/#dom-rtcrtpencodingparameters) dictionary, and if kind is "video", add a [scaleResolutionDownBy](https://w3c.github.io/webrtc-pc/#dom-rtcrtpencodingparameters-scaleresolutiondownby) member with the value 1.0 to that dictionary. So the comment is probably out of date. -- GitHub Notification of comment by Orphis Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2856#issuecomment-1506729707 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:30:19 UTC