-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
fix(cea): make a more robust CEA MP4 parser #3965
Conversation
lib/cea/mp4_cea_parser.js
Outdated
} catch (e) { | ||
if (e instanceof shaka.util.Error) { | ||
break; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't quite understand the logic here. Some comments may be helpful.
If the error is a shaka.util.Error, you break out of the loop. If it's some other kind of error, you continue. I don't understand the purpose of either.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you are right, although the function really only throws this error, it can be applied to everything.
Thanks @joeyparrish ! |
Fix a HLS error reported in #2337 (comment) Tested with https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_adv_example_hevc/master.m3u8
Fix a HLS error reported in #2337 (comment) Tested with https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_adv_example_hevc/master.m3u8
Fix a HLS error reported in #2337 (comment)
Tested with https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_adv_example_hevc/master.m3u8