Skip to content
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

Add safe navigator to captions check #5512

Merged
merged 1 commit into from
Dec 8, 2023
Merged

Add safe navigator to captions check #5512

merged 1 commit into from
Dec 8, 2023

Conversation

masaball
Copy link
Contributor

@masaball masaball commented Dec 7, 2023

Encountered an issue on avalon-dev where @master_file.captions returned nil instead of an empty Indexed file so the subsequent check for content errored. This prevents the HLS manifest from generating, causing streaming to fail. I think this will be encountered with any item created after we changed how captions are created/stored. Adding the safe navigator should take care of the issue.

Encountered an issue on avalon-dev where `@master_file.captions`
returned nil instead of an empty Indexed file so the subsequent check
for content errored. This prevents the HLS manifest from generating,
causing streaming to fail. I think this will be encountered with any
item created after we changed how captions are created/stored. Adding
the safe navigator should take care of the issue.
Copy link
Member

@cjcolvar cjcolvar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@masaball masaball merged commit ef957f3 into develop Dec 8, 2023
@masaball masaball deleted the safe_captions branch December 8, 2023 15:02
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.

2 participants