-
Notifications
You must be signed in to change notification settings - Fork 406
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
RTSP streaming error: Malformed SDP line: i={contentIsMalformed=true, dataType=4} #1087
Comments
It seems that your camera is providing a malformed SDP description for its stream. Its supplying an "i" attribute which is a "session description" without a value. The SDP description are attribute-value pairs and so it cannot be empty. Maybe there is some mechanism in the camera setup through which you can "name" the stream or fix it so that its not empty? |
Unfortunately there isn't such option in setup... But I can stream it with VLC or VideoView on some Android 7 for example |
Reolink owner here, dealing with this problem also. I have reported the problem to Reolink but it looks like the rtsp protocol ( https://datatracker.ietf.org/doc/html/rfc4566 ) says the client end is supposed to ignore any session parameters that are not understood. (PS: I have written some specs in my day and I would say the spec could have been better written in this regard, but let's not go down that rabbit hole.) |
Issue: #1087 PiperOrigin-RevId: 608534659
Issue: androidx/media#1087 PiperOrigin-RevId: 608534659
I pushed a fix, commit 52c1d60, to the androidx/media main branch that should address your issue. It will allow an session information attribute with an empty value. Hopefully that fixes your issue! @skipt1206 |
Thanks Michael. I am not a developer, but I have some experience working with developers. In this case I am trying to coordinate resolution of a problem getting Reolink camera rtsp to work with an app called Sparkle TV. Your fix should help a lot. |
As the commit has fixed the initial problem I will close this issue. Please feel free to open a new ticket if an issue still exists. |
Issue: androidx#1087 PiperOrigin-RevId: 608534659 (cherry picked from commit 52c1d60)
I am streaming from camera in local network (RTSP H.264) using androidx.media3:media3-exoplayer-rtsp:1.1.1 and I get following error in logcat:
Playback error
The text was updated successfully, but these errors were encountered: