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

We settled some time ago that the encoder is free to generate keyframes at any time, and that if it decided that it could only generate a keyframe for layer "A" by generating keyframes for all layers, that was a valid implementation.
For such implementations, it would take some bookkeeping to not generate two sets of keyframes for generateKeyFrame("a"); generateKeyFrame("b").

Note that the webrtc-extensions setParameters() has the ability to request keyframes on layers A and B but not C, since the keyframe request is per-encoding; this argues for having generateKeyFrame() have the same semantics (thus - take a list argument).




-- 
GitHub Notification of comment by alvestrand
Please view or discuss this issue at https://github.com/w3c/webrtc-encoded-transform/issues/143#issuecomment-3143964236 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 09:56:21 UTC