Skip to content

fix(CEA): cache and restore cea decoders based on the period continuity for dash content that uses SegmentTemplate #8378

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 13 commits into from
Apr 23, 2025

Conversation

gkatsev
Copy link
Contributor

@gkatsev gkatsev commented Apr 1, 2025

We had an issue where in SSAI content, 708 data was being split by ad periods. Currently, when this happens, we reset the 708 decoder, which means that captions are lost. Instead, we want to cache this decoder for a later time. This change keeps track of continuous periods and caches the 708 decoder when a period change happens to a discontinuous period. This is so that it could be later restored if we go back to a continuous period.

@shaka-bot
Copy link
Collaborator

Incremental code coverage: 100.00%

@avelad avelad changed the title fix: cache and restore cea decoders based on the period continuity for dash content that uses SegmentTemplate fix(CEA): cache and restore cea decoders based on the period continuity for dash content that uses SegmentTemplate Apr 2, 2025
@avelad avelad added type: bug Something isn't working correctly component: captions/subtitles The issue involves captions or subtitles priority: P2 Smaller impact or easy workaround component: DASH The issue involves the MPEG DASH manifest format labels Apr 2, 2025
@avelad avelad added this to the v4.15 milestone Apr 2, 2025
@avelad avelad requested a review from tykus160 April 22, 2025 08:10
@tykus160 tykus160 merged commit 6e029d1 into shaka-project:main Apr 23, 2025
30 of 31 checks passed
@tykus160 tykus160 deleted the 708-across-periods branch April 23, 2025 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: captions/subtitles The issue involves captions or subtitles component: DASH The issue involves the MPEG DASH manifest format priority: P2 Smaller impact or easy workaround type: bug Something isn't working correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants