mavlink-camera-manager: QGC doesn't display video stream
Hello,
I followed instructions in the README and tried t3.12.7 and t3.12.6 releases but QGC doesn’t automatically display the video stream. I create ball-Fake source h264 rtp stream and can add it successfully manually in QGC settings, QGC then displays the stream as expected. But automatically this doesn’t happen. I see that mavlink-camera-manager sends heartbeats and QGC reacts to them and requests MAV_CMD_REQUEST_CAMERA_INFORMATION. In mavlink-camera-manager logs
2024-03-10T04:22:38.616028Z TRACE MavReceiver ThreadId(13) receiver_loop: src/mavlink/manager.rs:104: Message received: MavHeader { system_id: 255, component_id: 190, sequence: 11 }, COMMAND_LONG(COMMAND_LONG_DATA { param1: 1.0, param2: 0.0, param3: 0.0, param4: 0.0, param5: 0.0, param6: 0.0, param7: 0.0, command: MAV_CMD_REQUEST_CAMERA_INFORMATION, target_system: 1, target_component: 100, confirmation: 0 })
But mavlink-camera-manager neither acknowledges the message not sends the information back. I can verify this by watching messages on mavproxy to which mavlink-camera-manager is connected. As a result QGC reports “Giving up requesting camera info from 1 100”
Do you know what can be the problem? Thanks.
See the full log mavlink-camera-manager.2024-03-10-04.log attached
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 29 (1 by maintainers)
@joaoantoniocardoso I checked my gst version as below, maybe the error is caused by low version.
@joaoantoniocardoso https://github.com/mavlink/mavlink-camera-manager/pull/369/files
@adolgarev good, so I won’t bother looking into that. Feel free to create new issues if you find anything else, or if you want to discuss new features, thanks!
Yes, video is showing
I still see
CameraControlLog: Unable to load camera parameters from camera definitionon QGC, I believe it is because I’m using fake source.Thanks! I’ll give it a try
It works! Thank yo very much.
There is one warning in QGC which is not fatal but maybe worth a look.
Hi, I’m able to reproduce the issue, I’ll investigate it.
@joaoantoniocardoso thank you for your response. Recent build produces the same result, please find details below.
I configure the stream like below
I believe it is RTP over UDP
If I add stream manually
It displays ok
But if I let QGC discover stream by itself I see
and no video
In logs mavlink-camera-manager sends only heartbeats, no message ack and no response with camera caps.
System id and component id looks right. I wonder why mavlink-camera-manager doesn’t respond.
The new log: mavlink-camera-manager.2024-03-11-19.log