Skip to content

fix(vidstack): guard dash video quality lookup - #1805

Merged
mihar-22 merged 2 commits into
mainfrom
fix/1791-dash-video-quality-guard
May 25, 2026
Merged

fix(vidstack): guard dash video quality lookup#1805
mihar-22 merged 2 commits into
mainfrom
fix/1791-dash-video-quality-guard

Conversation

@mihar-22

Copy link
Copy Markdown
Member

Fixes #1791

Summary

  • Use find for the matching DASH video quality lookup.
  • Guard video bitrate and quality selection processing with if (videoQuality).
  • Preserve audio track processing and the canplay dispatch when no supported video quality is found.
  • Add a focused DASH manifest test for the missing-video-quality path.

Validation

  • pnpm --filter vidstack exec vitest --run src/providers/dash/dash.test.ts passed.
  • pnpm --filter vidstack typecheck passed.

@mihar-22 mihar-22 changed the title fix: guard dash video quality lookup fix(vidstack): guard dash video quality lookup May 25, 2026
@mihar-22
mihar-22 marked this pull request as ready for review May 25, 2026 04:55
@mihar-22
mihar-22 merged commit 37d8850 into main May 25, 2026
1 check passed
@mihar-22
mihar-22 deleted the fix/1791-dash-video-quality-guard branch May 25, 2026 05:05
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.

Bug: DASH provider may crash on undefined videoQuality

1 participant