Skip to content

Add option to force VP09 video codec#467

Open
RF1705 wants to merge 1 commit into
webosbrew:mainfrom
RF1705:force-vp09-codec
Open

Add option to force VP09 video codec#467
RF1705 wants to merge 1 commit into
webosbrew:mainfrom
RF1705:force-vp09-codec

Conversation

@RF1705

@RF1705 RF1705 commented Jul 7, 2026

Copy link
Copy Markdown

Summary

  • add a settings option to force VP09 video playback
  • filter non-VP09 video formats from player responses when VP09 is available
  • report AV1 as unsupported through browser media capability checks while VP09 forcing is enabled
  • pass a VP9 format id into quality selection when possible

Notes

This is intended as an opt-in codec preference for devices where VP09 is preferred over AV1. It does not claim to fix every playback interruption issue, but it gives users a direct switch to avoid AV1 selection.

Testing

  • pnpm exec prettier --check src/video-codec.ts src/userScript.ts src/video-quality.ts src/player_api/yt-api.ts
  • pnpm run lint:tsc
  • pnpm run build
  • pnpm run package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant