Re: [webrtc-encoded-transform] generateKeyFrame takes a "rid" argument, but is invoked with "rids" (#143)

If the issue is about encoder not being able to generate key frame for only a specific rid, we could have `generateKeyFrame` reject with `NotSupportedError` in that case.
It would be up to the web application to decide whether to call `generateKeyFrame` without any parameter or do some kind of workaround.

> See [@solmaks](https://github.com/solmaks)' [#143 (comment)](https://github.com/w3c/webrtc-encoded-transform/issues/143#issuecomment-1262108363) for the use-case which from what I recall is solved by https://wpt.fyi/results/webrtc/RTCRtpSender-setParameters-keyFrame.html?label=experimental&label=master&aligned

Given setParameters-keyFrame, how about removing RTCRtpSender.generateKeyFrame?

-- 
GitHub Notification of comment by youennf
Please view or discuss this issue at https://github.com/w3c/webrtc-encoded-transform/issues/143#issuecomment-3143556035 using your GitHub account


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

Received on Friday, 1 August 2025 07:39:57 UTC