Skip to content

fix: Only expand robustness on each stream once #8458

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 15, 2025

Conversation

gkatsev
Copy link
Contributor

@gkatsev gkatsev commented Apr 14, 2025

Without this change, expandRobustness ended up running 480 times for the stream Angel One (multicodec, multilingual, Widevine) with SW_SECURE_CRYPTO,SW_SECURE_CRYPTO,SW_SECURE_CRYPTO set up as the multiple robustness. With it, it only runs 44 times, which is expected because there are 22 unique streams, and it expands videoRobustness and audioRobustness on each.

Fixes #8408

@shaka-bot
Copy link
Collaborator

Incremental code coverage: 100.00%

@avelad avelad changed the title fix: only expand robustness on each stream once fix: Only expand robustness on each stream once Apr 15, 2025
@avelad avelad added type: bug Something isn't working correctly priority: P1 Big impact or workaround impractical; resolve before feature release labels Apr 15, 2025
@avelad avelad added this to the v4.15 milestone Apr 15, 2025
@avelad avelad requested review from avelad and tykus160 April 15, 2025 06:59
@avelad avelad merged commit 9ba8ceb into shaka-project:main Apr 15, 2025
64 of 67 checks passed
@gkatsev gkatsev deleted the mr-perf branch April 16, 2025 19:24
avelad pushed a commit that referenced this pull request Apr 21, 2025
Without this change, `expandRobustness` ended up running 480 times for
the stream `Angel One (multicodec, multilingual, Widevine)` with
`SW_SECURE_CRYPTO,SW_SECURE_CRYPTO,SW_SECURE_CRYPTO` set up as the
multiple robustness. With it, it only runs 44 times, which is expected
because there are 22 unique streams, and it expands `videoRobustness`
and `audioRobustness` on each.

Fixes #8408
avelad pushed a commit that referenced this pull request Apr 21, 2025
Without this change, `expandRobustness` ended up running 480 times for
the stream `Angel One (multicodec, multilingual, Widevine)` with
`SW_SECURE_CRYPTO,SW_SECURE_CRYPTO,SW_SECURE_CRYPTO` set up as the
multiple robustness. With it, it only runs 44 times, which is expected
because there are 22 unique streams, and it expands `videoRobustness`
and `audioRobustness` on each.

Fixes #8408
tykus160 added a commit to sky-hugolima/shaka-player-contrib that referenced this pull request May 20, 2025
Cherry picks shaka-project#8458

Without this change, `expandRobustness` ended up running 480 times for
the stream `Angel One (multicodec, multilingual, Widevine)` with
`SW_SECURE_CRYPTO,SW_SECURE_CRYPTO,SW_SECURE_CRYPTO` set up as the
multiple robustness. With it, it only runs 44 times, which is expected
because there are 22 unique streams, and it expands `videoRobustness`
and `audioRobustness` on each.

Co-authored-by: Gary Katsevman <[email protected]>
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Jun 14, 2025
@shaka-project shaka-project locked as resolved and limited conversation to collaborators Jun 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority: P1 Big impact or workaround impractical; resolve before feature release status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Video freezing issue on WebOS 3.x
4 participants