Skip to content

Use SourceBuffer timestampOffset #7311

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

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

robwalch
Copy link
Collaborator

@robwalch robwalch commented Jun 9, 2025

This PR will...

Use SourceBuffer timestampOffset rather than modify mp4 decode timestamps.

Why is this Pull Request needed?

Are there any points in the code the reviewer needs to double check?

This is a work-in-progress. Known issues include improper offset of discontinuities with MPEG-TS or muxed content. Additional testing and review is needed to find and fix the application of initPTS offsets on append.

Resolves issues:

Checklist

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • API or design changes are documented in API.md

@robwalch robwalch force-pushed the enhancement/sourcebuffer-timestamp-offset branch from aeb9214 to 1f7a0f1 Compare June 12, 2025 01:05
@robwalch robwalch force-pushed the enhancement/sourcebuffer-timestamp-offset branch from 09dd5f3 to ceebdc9 Compare June 12, 2025 23:41
@robwalch robwalch force-pushed the enhancement/sourcebuffer-timestamp-offset branch from ceebdc9 to 794f5a0 Compare June 13, 2025 00:09
@robwalch robwalch marked this pull request as ready for review June 13, 2025 12:53
@robwalch robwalch force-pushed the enhancement/sourcebuffer-timestamp-offset branch from e7656be to 2dbc25a Compare June 13, 2025 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant