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: only reset syncController if we passed a discontinuity #502

Merged
merged 7 commits into from
May 30, 2019

Conversation

gkatsev
Copy link
Member

@gkatsev gkatsev commented May 8, 2019

No description provided.

@gkatsev
Copy link
Member Author

gkatsev commented May 9, 2019

Unless anyone gets a good idea, I don't think there's a good test to add for this.

@gkatsev
Copy link
Member Author

gkatsev commented May 9, 2019

Doesn't seem to cause issues with demuxed audio stream either.

@gkatsev gkatsev force-pushed the no-timeline-changes-without-disco branch from 987ee88 to 09cb05c Compare May 13, 2019 19:50
test/segment-loader.test.js Outdated Show resolved Hide resolved
mjneil
mjneil previously requested changes May 13, 2019
src/segment-loader.js Show resolved Hide resolved
@gkatsev gkatsev dismissed mjneil’s stale review May 13, 2019 21:04

comments updated

mjneil
mjneil previously approved these changes May 13, 2019
@gkatsev
Copy link
Member Author

gkatsev commented May 14, 2019

Can't come up with a better test, unfortunately.

@gkatsev gkatsev changed the base branch from master to 1.x May 23, 2019 18:00
@gkatsev gkatsev force-pushed the no-timeline-changes-without-disco branch from 773195c to 07bc359 Compare May 28, 2019 17:56
@gkatsev gkatsev merged commit 409634f into 1.x May 30, 2019
@gkatsev gkatsev deleted the no-timeline-changes-without-disco branch May 30, 2019 21:12
gesinger pushed a commit to gesinger/http-streaming that referenced this pull request Feb 19, 2020
gkatsev pushed a commit that referenced this pull request Feb 25, 2020
* fix: only reset syncController if we passed a discontinuity (#502)

* Delay timestamp offset changes for segments without audio or video data

If a timeline change occurs, but the requested segment doesn't contain
any audio or video data, delay the timestamp offset changes for the
source buffers and transmuxer until the next segment with audio or video
data.

This provides a mechanism to avoid setting an improper timestamp offset
for segments containing no audio or video data, as audio or video timing
  information is required to provide a correct timestamp offset.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants