-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
feat(HLS): Add support for mjpg I-Frames playlist #5856
Conversation
Incremental code coverage: 49.62% |
8cf99d2
to
cf01dfa
Compare
lib/hls/hls_parser.js
Outdated
|
||
// TODO: This check is necessary because of the possibility of multiple | ||
// calls to createStreamInfoFromImageTag_ before either has resolved. | ||
if (this.uriToStreamInfosMap_.has(verbatimIFramePlaylistUri)) { |
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.
Also I'm not sure we need this check anymore, in this function or in createStreamInfoFromImageTag_
. There is no context switch between this and the previous check to uriToStreamInfosMap_
.
Looking at git blame, createStreamInfo_
used to be async, but in #4511 it was changed to be synchronous. It looks like, at the time, I didn't notice that made this check unnecessary.
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.
Yes, it is no longer necessary, I delete it.
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 take advantage of this PR to eliminate this same thing on other sites where it is not necessary.
It also adds support for rendering downloaded thumbnails.
It also adds support for rendering downloaded thumbnails.