-
Notifications
You must be signed in to change notification settings - Fork 182
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
AAC RTP packets with multiple AU units per packet #81
Comments
Many thanks for this. When I wrote the code to extract AAC, all I had to use was an online Big Buck Bunny test RTSP stream. Many thanks for the code contribution. |
thx - will create a pull request.... |
Pull Request has been added. Many thanks for that. It is nice to keep your name in the history. I had a quick question. What device was sending AAC that showed up the problem? |
thx... I was just testing with ffmpeg and streaming directly from an RTSP client like PHZ76/RtspServer |
Thx for your continued effort to improve this asset...
I was wondering how you tested the AACPayload, but at least for me it does not work with e.g. ffmpeg.
SharpRTSP/RTSP/AACPayload.cs
Line 112 in 3ce0caf
Overall the code only works if there is just one AU unit present, as the AU units are usually lined up sequentially at the beginning of the payload and the header length (in byte / 2) gives the number of AUs present. The code assumes there is one AU unit, but as there are usually more, it might loose 2-3 other AU units and the outcome is choppy...
instead of using the while loop, I use this one, which seems to work fine:
Any feedback would be great... cheers...
The text was updated successfully, but these errors were encountered: