-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Invalid SDP: media 1 is invalid: invalid AAC config: otherDataPresent is not supported error using gstreamer avenc_aac plugin #1881
Comments
Thanks for reporting the issue and the log, this is fixed by bluenviron/mediacommon#18 |
@aler9 Thank you for the great piece of software you have released! With that said, and hopefully without sounding ungrateful for the super fast fix, do you have any idea when the next release that incorporates this will be available (roughly obviously I am not looking for some hard commitment)? I am trying to coordinate something with a less tech-savvy end user so want to avoid building from source :) Feel free to close this of course unless you want to keep it open until the next release can be tested! |
added in v0.23.4 |
This issue is being locked automatically because it has been closed for more than 6 months. |
Which version are you using?
v0.23.3 (tested on all version up to v0.22.0 which did NOT have this issue)
Which operating system are you using?
Describe the issue
If audio is encoded using particular configurations (opaque to me as a user), the RTSP server closes the stream as it complains of an invalid SDP. Specifically the issue seems to be something regarding the otherDataPresent configuration option not being supported (I presume by a new SDP parser/library/engine?). I encounter this issue when I encoded audio using the gstreamer
avenc_aac
plugin. If I use a seperate plugin, e.gmfaacenc
then I do not get this issue. I pressume it is specificIssue in v0.23.0+
This issue could not be replicated with v0.22.0 (Note v0.22.XX for XX>0 exhibit a separate issue with regards to an invalid clock but I have not tested this thoroughly and may be unrelated. It is added here for completeness only)
Issue in v0.22.1+
Describe how to replicate the issue
Did you attach the server logs?
Full debug log of the issue described above is attached below. Other than the error there doesn't seem to be any difference in the generated SDP (other than the obvious random bit like SSRC).
Non Working case:
Gstreamer Pipeline
gst-launch-1.0 rtspclientsink name=s location=rtsp://localhost:8554/mystream audiotestsrc ! audioconvert ! avenc_aac ! aacparse ! queue ! s.sink_0
Server Output
Working Case:
Gstreamer Pipeline
gst-launch-1.0 rtspclientsink name=s location=rtsp://localhost:8554/mystream audiotestsrc ! audioconvert ! mfaacenc ! aacparse ! queue ! s.sink_0
Server Output
Did you attach a network dump?
no
The text was updated successfully, but these errors were encountered: