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

feat(HLS): Add support for mjpg I-Frames playlist #5856

Merged
merged 6 commits into from
Nov 8, 2023

Conversation

avelad
Copy link
Member

@avelad avelad commented Nov 3, 2023

It also adds support for rendering downloaded thumbnails.

@avelad avelad marked this pull request as draft November 3, 2023 17:16
@avelad avelad added type: enhancement New feature or request component: HLS The issue involves Apple's HLS manifest format priority: P3 Useful but not urgent labels Nov 3, 2023
@avelad avelad added this to the v4.6 milestone Nov 3, 2023
@shaka-bot
Copy link
Collaborator

shaka-bot commented Nov 3, 2023

Incremental code coverage: 49.62%

@avelad avelad force-pushed the i-frame-mjpg branch 3 times, most recently from 8cf99d2 to cf01dfa Compare November 6, 2023 13:30
@avelad avelad marked this pull request as ready for review November 6, 2023 14:51
@avelad
Copy link
Member Author

avelad commented Nov 6, 2023


// TODO: This check is necessary because of the possibility of multiple
// calls to createStreamInfoFromImageTag_ before either has resolved.
if (this.uriToStreamInfosMap_.has(verbatimIFramePlaylistUri)) {
Copy link
Contributor

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.

Copy link
Member Author

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.

Copy link
Member Author

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.

@avelad avelad requested a review from theodab November 7, 2023 09:44
@avelad avelad merged commit 801131f into shaka-project:main Nov 8, 2023
@avelad avelad deleted the i-frame-mjpg branch November 8, 2023 08:22
Robloche pushed a commit to Robloche/shaka-player that referenced this pull request Nov 30, 2023
It also adds support for rendering downloaded thumbnails.
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Jan 7, 2024
@shaka-project shaka-project locked as resolved and limited conversation to collaborators Jan 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component: HLS The issue involves Apple's HLS manifest format priority: P3 Useful but not urgent status: archived Archived and locked; will not be updated type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants