-
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(HLS): Fix detection of Media Playlist for audio and video only in MP4 #4803
Conversation
3afeece
to
ea79350
Compare
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 |
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.
😭
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.
Do you prefer any other way?
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 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.
No description provided.