CircusMonkey / ros_rtsp

ROS node to subscribe to an image and serve it up as a RTSP video feed.
The Unlicense
103 stars 48 forks source link

Codec configuration? #5

Closed trinidadg closed 4 months ago

trinidadg commented 3 years ago

Hi! first of all, thanks for the great work!

I'm taking the stream form a ROS topic and trying to stream to an android device. When using VLC, I am able to see the video, but Android is unable to display it. After some research, I think it is because Android does not support the used codec ( Android suported formats )

Is there any way to chenge the one used to one of the ones supported? The android app is able to play other streams (such as rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov) so that could not be the problem.

Thank you in advance!

CircusMonkey commented 3 years ago

Almost any system should be able to decode and play h264 video. There's a bit more investigation to be done into this and its been a while since I've touched this code. There might be an incompatible setting somewhere.

How are you playing the stream on Android? Are you using the gst-android package?

CircusMonkey commented 2 years ago

@trinidadg how did you go with this? A lot of time has passed, but I've setup again and have no problem playing the video through the Android VLC app (other than about 3s of lag).