mavlink / qgroundcontrol

Cross-platform ground control station for drones (Android, iOS, Mac OS, Linux, Windows)
http://qgroundcontrol.io
3.17k stars 3.52k forks source link

RTSP streaming success on OS X but failed on Android device? #3245

Closed xul4m06qj6 closed 8 years ago

xul4m06qj6 commented 8 years ago

I was planning to stream a camera on a UAV to QGC,

I first used a test server for experiment --> "rtsp://mm2.pcslab.com/mm/7h800.mp4"

the video successfully stream on OS X platform(which is my develop environment), using QT 5.5.1.

However, as I built the same code targeting an Android pad(5.0.1), the result shows on that pad is "No Video".

I am not sure whether the streaming function of QGC on various platform is ready or not, if I want to do so(In my case, Android devices.), Where can I start?

dogmaphobic commented 8 years ago

Your (Mac OS) development platform includes every single GStreamer library and plugin. The Android build only includes the libraries and plugins it (currently) needs. If you are using RTPS and added your own pipeline, you will need to add the appropriate libraries and plugins. This is what is currently included:

https://github.com/mavlink/qgroundcontrol/blob/master/src/VideoStreaming/VideoStreaming.pri#L62-L95

And that's where you would add the additional libraries and/or plugins.

DonLakeFlyer commented 8 years ago

Is there a real issue here?

dogmaphobic commented 8 years ago

Only if he implements a way for users to enter custom pipelines in QGC :) Otherwise, it's only an issue for this specific, custom implementation.

DonLakeFlyer commented 8 years ago

Ok, closing this since it is not a pre-built QGC problem