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

Make random_access_indicator check in demuxer optional #6

Open
samrat opened this issue Jun 22, 2024 · 0 comments
Open

Make random_access_indicator check in demuxer optional #6

samrat opened this issue Jun 22, 2024 · 0 comments

Comments

@samrat
Copy link

samrat commented Jun 22, 2024

Hi,

I'm trying to demux an MPEG-TS stream. However, the stream doesn't seem to have random access indicator bits set. So all packets end up getting discarded as a result of the check here:

rai = Enum.find_index(packets, fn x -> x.random_access_indicator end)

I'm fairly new to MPEG-TS, but my understanding is that random access indicators are not mandatory. Would it make sense to add a flag to toggle whether the demuxer checks for the random access indicator?

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