Closed joaoantoniocardoso closed 4 months ago
Great insight. I say that video code in QGC is a bit messy. I made a first step to fix it in #10349
There are some things to fix - like not working gstreamer streams under Android (and Windows?) and other minor issues. Then this can be fixed as well but not all at the same time as it would be difficult to track all those changes. I can fix your problems as soon my pending video changes will jump into the repo.
Please reopen if zdaneks additions did not fix this
Expected Behavior
Multiple video streams should show consistently despite mavlink instabilities.
Current Behavior
When this quick reset happens, QGroundcontrol starts to show inconsistent behavior on how it deals with multiple streams. See the video below, pay attention to the multiple cameras shown, and how, after each reset, it becomes worst:
I didn't show in the video, but if I restart the QGroundControl, it medially finds all the streams again, although with a different order, as already reported in #10368.
Steps to Reproduce:
Please provide an unambiguous set of steps to reproduce the current behavior
System Information
When posting bug reports, include the following information Operating System: Arch Linux QGC Version: tested with AppImage v4.2.3, but should happen with any other too. QGC build: AppImage downloaded from here Flight Controller: Pixhawk 1 or SITL Autopilot (with version): ArduPilot (Submarine) 4.2.0 (DEV)
Log Files and Screenshots
QGC_inconsistent_example_log.txt
https://user-images.githubusercontent.com/5920286/188002548-6f1e63b0-4354-4cb4-854c-125431ac59cf.mp4