Skip to content

fix(codec): align av1 codec parameters with specification#5025

Open
SomeBody16 wants to merge 1 commit into
webex:nextfrom
SomeBody16:av1-fix-params
Open

fix(codec): align av1 codec parameters with specification#5025
SomeBody16 wants to merge 1 commit into
webex:nextfrom
SomeBody16:av1-fix-params

Conversation

@SomeBody16

@SomeBody16 SomeBody16 commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

COMPLETES SPARK-821152

This pull request addresses

The AV1 codec parameter presets in plugin-meetings used raw frame-size-derived maxPicSize values for each supported resolution.

Those values should reflect the AV1 spec level limits so the advertised codec parameters align with the selected AV1 levels and correctly cover the intended resolutions.

Spec reference: https://aomediacodec.github.io/av1-spec/av1-spec.pdf

by making the following changes

Updates AV1_CODEC_PARAMETERS in packages/@webex/plugin-meetings/src/multistream/codec/constants.ts so each supported resolution uses spec-aligned maxPicSize values:

  • 90p and 180p: 147_456
  • 360p: 278_784
  • 540p: 665_856
  • 720p: 1_065_024
  • 1080p: 2_359_296

The existing levelIdx, dimensions, tier, and maxDecodeRate values are unchanged.

Change Type

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Tooling change
  • Internal code refactor

The following scenarios were tested

  • Not run; no local branch test execution was provided or verified during this PR description refresh.
  • Diff reviewed for the AV1 parameter updates in packages/@webex/plugin-meetings/src/multistream/codec/constants.ts.

The GAI Coding Policy And Copyright Annotation Best Practices

  • GAI was not used (or, no additional notation is required)
  • Code was generated entirely by GAI
  • GAI was used to create a draft that was subsequently customized or modified
  • Coder created a draft manually that was non-substantively modified by GAI (e.g., refactoring was performed by GAI on manually written code)
  • Tool used for AI assistance (GitHub Copilot / Other - specify)
    • Github Copilot
    • Other - Please Specify: Cursor
  • This PR is related to
    • Feature
    • Defect fix
    • Tech Debt
    • Automation

Additional GAI usage details: Cursor was used to refresh the PR title and description. No source code changes were made during this PR metadata refresh.

I certified that

  • I have read and followed contributing guidelines
  • I discussed changes with code owners prior to submitting this pull request
  • I have not skipped any automated checks
  • All existing and new tests passed
  • I have updated the documentation accordingly

Make sure to have followed the contributing guidelines before submitting.

@SomeBody16 SomeBody16 requested review from a team as code owners June 8, 2026 07:40
@SomeBody16 SomeBody16 added the validated If the pull request is validated for automation. label Jun 8, 2026
@aws-amplify-us-east-2

Copy link
Copy Markdown

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-5025.d3m3l2kee0btzx.amplifyapp.com

@SomeBody16 SomeBody16 changed the title fix(codec): update maxPicSize values for AV1 codec parameters to refl… fix(codec): align av1 codec parameters with specification Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

validated If the pull request is validated for automation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants