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

Parted TS fragments don't handled correctly #418

Open
dmitryyacenko opened this issue Jul 20, 2022 · 0 comments
Open

Parted TS fragments don't handled correctly #418

dmitryyacenko opened this issue Jul 20, 2022 · 0 comments

Comments

@dmitryyacenko
Copy link

Hi there!
Did anybody manage to use mux.js for transmuxing partial .ts segments? I faced with the following issue:
I have a 2s-duration common segments and 500ms-duration partial segments (4 partial segments per one common). If I'm trying to parse partial ts's via debug page, the source buffer behaves very strangely:

end of first mediaBuffer is set to ~500 ms after parsing first partial segment (as expected)

end of first mediaBuffer is set to ~998 ms after parsing second partial segment (as expected)

end of first mediaBuffer is set to ~1001 ms after parsing third partial segment (but expected ~1500)

I also tried to change a number of parts, and it looks like it works only if there are two parts of the segment.

It causes gaps in sourceBuffer.
But moreover, if I'll concat first, second, and third partial segment into one file, transmuxer will successfully handle it and the source buffer duration will be set to 1500ms.
Thanks in advance for any help or ideas.

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

No branches or pull requests

1 participant