-
-
Notifications
You must be signed in to change notification settings - Fork 374
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
Add FrameInfo #1121
Add FrameInfo #1121
Conversation
fab084d
to
1c75ffd
Compare
@paullouisageneau this is ready for review, thank you! |
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.
As I understand, you use the same MediaSample
for storing metadata and sometimes data, so it also inherits from binary
. Why not simply adding a pure metadata strut (I actually liked the name FrameInfo
) that you'd pass to the user alongside the data, for instance with onFrame(std::function<void(binary data, FrameInfo frame)>
?
@paullouisageneau 👍 will fix that now! |
Depacketizers will include metadata about assembled media.
@paullouisageneau done! Can I get another review please? |
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.
I have a couple nitpicks, but otherwise it looks good, thanks for the work!
Moved to Opus PR |
Depacketizers will include metadata about assembled frame.