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

Handle stream that starts with junk data. Report ignored packets/data #86

Open
SoylentGraham opened this issue Feb 10, 2024 · 0 comments

Comments

@SoylentGraham
Copy link
Member

If someone is using this library to decode data, and pass half-good data, the library should at least still try and get something out of it.
If someone passes in a stream, but with junk/bad headers at the start, but with H264/Jpeg/HEVC data, we should still get it out.

  • Start reporting blocks of pushed data/packets that we walked over because we couldn't determine the type
  • Report packets we dropped
    • SEI packets on apple are ignored
    • IDRframes etc, that are dropped because we don't have SPS,PPS etc beforehand
  • Report dropped/ignored packets as frames in peek/pop
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