-
Notifications
You must be signed in to change notification settings - Fork 211
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(aac): missing timestamp rollover #430
base: main
Are you sure you want to change the base?
Conversation
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.
A unit test or 2 would be a great addition. Also, I have a question regarding AAC, is it possible to extract the dts
from the bytes instead of setting it from the timeStamp
, it seems that this would allow TimestampRolloverStream
to handle the rollover instead?
@adrums86 thank you for taking the time to review this PR. Unfortunately, I'm not sure I'm much help with this PR, it was only by luck that I managed to find a fix. So it is quite possible that there is a better way to fix this behavior. I would have liked to add unit tests, but unfortunately I can't figure out how it all works so I can't produce a test case. However, if you need a media to test I have a sample that I can share via slack. |
@amtins, no worries, your contribution is very much appreciated! I'll spend some time in the next week or so and see if I can help at all with a test or possible segment extraction of the |
I think this is a great improvement in general and we should roll forward with this change if possible. I'd like to get another set of eyes on this, however. @dzianis-dashkevich can you take a look at this when you have a chance and possibly weigh in on my original question, regarding extracting the AAC |
@adrums86 I tried to add test coverage as best I could. |
@amtins Thank you for getting back to this and adding a test! This LGTM. |
@adrums86 , I am still not sure it is a good idea to have pts/dts info on codecs level streams (I mean forward it), but I would rather not touch it and keep it as is. |
@dzianis-dashkevich makes sense. Big +1 to moving to CMAF 😄 . Lets merge this thing. Thanks again for doing the work @amtins! |
Hi, any idea on when this will be merged? |
Description
This PR fixes the missing timestamp rollover in AAC stream packets.
Refer videojs/http-streaming#1371 (comment)
Specific Changes proposed
Requirements Checklist