Parrot-Developers/olympe

The example 'streaming.py' didn't return image after updated to 7.6.0

Opened this issue · 0 comments

Hello,

When I tested the streaming.py in the example after updated to olympe 7.6.0 version, I found that the example didn't return the vmeta from the drone. The callback function 'self.yuv_frame_cb' didn't add any data to the queue 'self.frame_queue'. I simply modify the IP address of the script, and the connection to the drone was all right.

The information when I run the script is like:
2023-05-08 16:26:42,532 [WARNING] olympe.drone.ANAFI-A127145 - _recv_cmd_cb - Unknown message id 0xa2000005
2023-05-08 16:26:42,532 [WARNING] olympe.drone.ANAFI-A127145 - _recv_cmd_cb - Unknown message id 0xa2000004
Takeoff if necessary...
2023-05-08 16:26:43,100 [ERROR] ulog - pdraw_sink - VideoDecoder#2: coded video media format H264/AVCC not supported

If I deleted the function of fly 'streaming_example.fly()' in 'test_streaming()', the information turned to:
2023-05-08 16:05:37,642 [WARNING] olympe.drone.ANAFI-A127145 - _recv_cmd_cb - Unknown message id 0xa2000005
2023-05-08 16:05:37,642 [WARNING] olympe.drone.ANAFI-A127145 - _recv_cmd_cb - Unknown message id 0xa2000004
2023-05-08 16:05:38,572 [ERROR] olympe.video.renderer - _cleanup - Deferred cleanup action are still pending after 3.0s
2023-05-08 16:05:38,572 [WARNING] olympe.video.renderer - _cleanup - Futures still running: 1

How to fix the problem? Thanks~