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 HLS support for non-sequence mode #4623

Merged
merged 28 commits into from
Jan 30, 2023

Conversation

avelad
Copy link
Member

@avelad avelad commented Oct 26, 2022

No description provided.

@avelad avelad marked this pull request as draft October 26, 2022 17:09
@avelad avelad added type: enhancement New feature or request component: HLS The issue involves Apple's HLS manifest format priority: P2 Smaller impact or easy workaround labels Oct 26, 2022
@avelad avelad added this to the v4.3 milestone Oct 26, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Oct 26, 2022

Incremental code coverage: 61.59%

@avelad avelad force-pushed the hls-sequencemode branch 2 times, most recently from 8aa4cea to a0119c0 Compare November 4, 2022 17:54
@avelad avelad modified the milestones: v4.3, v4.4 Nov 11, 2022
@avelad avelad marked this pull request as ready for review November 17, 2022 17:14
externs/shaka/manifest.js Outdated Show resolved Hide resolved
# Conflicts:
#	lib/media/media_source_engine.js
# Conflicts:
#	lib/media/media_source_engine.js
#	lib/media/streaming_engine.js
#	test/media/streaming_engine_unit.js
# Conflicts:
#	lib/media/media_source_engine.js
@avelad
Copy link
Member Author

avelad commented Jan 9, 2023

@joeyparrish , do you think you'll have time this week to review it?

@joeyparrish
Copy link
Member

Sorry, it turns out that I did not have time. I didn't even see this message until now. :-(

The AV sync issues kept me very busy since the holidays, but now that I have close that issue and am preparing new releases, I should be able to catch up a bit on reviews next week.

@avelad
Copy link
Member Author

avelad commented Jan 27, 2023

@joeyparrish friendly reminder! :)

externs/shaka/manifest.js Outdated Show resolved Hide resolved
externs/shaka/offline.js Outdated Show resolved Hide resolved
externs/shaka/player.js Outdated Show resolved Hide resolved
lib/media/media_source_engine.js Show resolved Hide resolved
lib/media/media_source_engine.js Outdated Show resolved Hide resolved
reference.initSegmentReference &&
reference.initSegmentReference.timescale) {
const timescale = reference.initSegmentReference.timescale;
if (!isNaN(timescale)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Would this be better as an assert? I don't know if the timescale being NaN is something that happens in realistic Mp4 content.

Copy link
Member Author

Choose a reason for hiding this comment

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

This is realistic, because the timescale is obtained from the initialization segment, which is filled in elsewhere in the code.

lib/media/media_source_engine.js Outdated Show resolved Hide resolved
@avelad
Copy link
Member Author

avelad commented Jan 30, 2023

Thanks @theodab !

@avelad avelad merged commit 2b50b88 into shaka-project:main Jan 30, 2023
@avelad avelad deleted the hls-sequencemode branch January 30, 2023 20:23
swac pushed a commit to loomhq/shaka-player that referenced this pull request Feb 9, 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: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants