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

fix(HLS): Fix detection of Media Playlist for audio and video only in MP4 #4803

Merged
merged 1 commit into from
Dec 8, 2022

Conversation

avelad
Copy link
Member

@avelad avelad commented Dec 8, 2022

No description provided.

@avelad avelad added type: bug Something isn't working correctly component: HLS The issue involves Apple's HLS manifest format priority: P2 Smaller impact or easy workaround labels Dec 8, 2022
@avelad avelad added this to the v4.4 milestone Dec 8, 2022
@avelad avelad requested review from joeyparrish and theodab December 8, 2022 20:05
@github-actions
Copy link
Contributor

github-actions bot commented Dec 8, 2022

Incremental code coverage: 46.67%

if (mimeType) {
fullMimeType = mimeType;
} else if (extension === 'ts') {
// TODO: Fetch one segment a use the TsParser to analize if there is
Copy link
Member

Choose a reason for hiding this comment

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

😭

Copy link
Member Author

Choose a reason for hiding this comment

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

Do you prefer any other way?

Copy link
Member

Choose a reason for hiding this comment

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

I don't love fetching segments for analysis. We quit doing it for timestamps, and I don't want to go back.

This is probably not as bad, since it's a media playlist, so we will only ever fetch one segment. I still wish we had another way. But Apple didn't design HLS for MediaSource, so it's tough to make things like this work without probing into the segments.

@joeyparrish joeyparrish merged commit 76f96b9 into shaka-project:main Dec 8, 2022
@avelad avelad deleted the media-playlist branch December 9, 2022 09:41
Robloche pushed a commit to Robloche/shaka-player that referenced this pull request Feb 8, 2023
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Jul 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2023
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: P2 Smaller impact or easy workaround status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants