Hi Peter, from the spec text:

"If videoKeyFrameIntervalCount is not null ... the video encoder produces a
keyframe on the *first* frame arriving *after* *videoKeyFrameIntervalCount
frames passed* *since* the last key frame"

It sounds to me like the blink impl is correctly implementing the spec
meaning. If videoKeyFrameIntervalCount is 0, the spec text implies every
frame should be a key frame. If your alternative interpretation were true,
what would a value of 0 mean?

On Thu, May 30, 2024 at 7:50 PM Peter Kasting <[email protected]> wrote:

> On Thursday, May 30, 2024 at 9:32:50 AM UTC-7 Peter Kasting wrote:
>
> The spec says that both the duration and frame count refer to the interval
> "between key frames".
>
>
> More spec text: "If videoKeyFrameIntervalCount is not null and
> videoKeyFrameIntervalDuration is null, the video encoder produces a
> keyframe on the first frame arriving after videoKeyFrameIntervalCount
> frames passed since the last key frame." I think that means Blink's current
> impl is indeed off-by-one.
>
> PK
>

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAJjiFfGoyJGGzRdbFZ3b7TyyWBYzc593%3DL%2BHQH3wp71LUSCYmQ%40mail.gmail.com.

Reply via email to