Streaming.py example error

Hi there,
I have a problem with the streaming.py example from the github repo.
When I run the program the drone starts but the rtsp stream( rtsp://10.202.0.1/live) does show an very latenced stream (round about 3s), there is also this error:

2022-07-13 21:12:14,643 [WARNING] 	olympe.media - _get_all_media - HTTP 541: http://10.202.0.1:80/api/v1/media/medias b'Media Not Yet Indexed'
2022-07-13 21:12:14,795 [WARNING] 	olympe.drone.ANAFI-0000000 - _recv_cmd_cb - Unknown message id 0xa2000005
2022-07-13 21:12:14,795 [WARNING] 	olympe.drone.ANAFI-0000000 - _recv_cmd_cb - Unknown message id 0xa2000004
Takeoff if necessary...
2022-07-13 21:12:15,172 [ERROR] 	ulog - pdraw_sink_coded_video - VideoDecoder#2: coded video media format H264/AVCC not supported
2022-07-13 21:12:15,643 [WARNING] 	olympe.media - _get_all_media - HTTP 541: http://10.202.0.1:80/api/v1/media/medias b'Media Not Yet Indexed'
2022-07-13 21:12:16,643 [WARNING] 	olympe.media - _get_all_media - HTTP 541: http://10.202.0.1:80/api/v1/media/medias b'Media Not Yet Indexed'
2022-07-13 21:12:17,643 [ERROR] 	olympe.media - _get_all_media - The webserver is unavailable
2022-07-13 21:12:17,643 [WARNING] 	olympe.media - aconnect - Media are not yet indexed2022-07-13 21:12:14,643 [WARNING] 	olympe.media - _get_all_media - HTTP 541: http://10.202.0.1:80/api/v1/media/medias b'Media Not Yet Indexed'
2022-07-13 21:12:14,795 [WARNING] 	olympe.drone.ANAFI-0000000 - _recv_cmd_cb - Unknown message id 0xa2000005
2022-07-13 21:12:14,795 [WARNING] 	olympe.drone.ANAFI-0000000 - _recv_cmd_cb - Unknown message id 0xa2000004
Takeoff if necessary...
2022-07-13 21:12:15,172 [ERROR] 	ulog - pdraw_sink_coded_video - VideoDecoder#2: coded video media format H264/AVCC not supported
2022-07-13 21:12:15,643 [WARNING] 	olympe.media - _get_all_media - HTTP 541: http://10.202.0.1:80/api/v1/media/medias b'Media Not Yet Indexed'
2022-07-13 21:12:16,643 [WARNING] 	olympe.media - _get_all_media - HTTP 541: http://10.202.0.1:80/api/v1/media/medias b'Media Not Yet Indexed'
2022-07-13 21:12:17,643 [ERROR] 	olympe.media - _get_all_media - The webserver is unavailable
2022-07-13 21:12:17,643 [WARNING] 	olympe.media - aconnect - Media are not yet indexed

I haved tried my best but coudn’t find an answer, maybe someone at this forum can help me.

Hi there,

What is your simulation real time factor (it should be displayed in the top right corner in Sphinx) ?

Hey,
first of all thanks for your quick answer, my real-time factor is around 99% but I don’t think the simulation is to blame, since I also tried my code on a physical drone (with & without Skycontroller) and got the same errors.
In addition, I can always open the stream as soon as I am connected to the drone, even if I have not run the code.

Hey,
first of all thanks for your quick answer, my real-time factor is around 99% but I don’t think the simulation is to blame, since I also tried my code on a physical drone (with & without Skycontroller) and got the same errors.
In addition, I can always open the stream as soon as I am connected to the drone, even if I have not run the code.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.