RTSP setup request failed

I am trying to stream video with parrot sphinix simulator:

I rtsp_client: response to RTSP request SETUP: status=503(Service Unavailable) cseq=3 session=- req_status=FAILED
E pdraw_dmxstrm: RTSP setup request failed (-16: Device or resource busy)

This is the command used:
./out/pdraw-linux/staging/native-wrapper.sh pdraw -u rtsp://

I get this:

This is part of the simulation log:

I am running this after simulation:

import olympe
import io
from olympe.messages.ardrone3.Piloting import TakeOff
file_object  = open('log_drone.txt', 'w', encoding='UTF-8') #<_io.TextIOWrapper name='log_drone.txt' mode='w' encoding='UTF-8'>
drone = olympe.Drone("", logfile=file_object)

I believe that this is the cause of the problem

[Wrn] [Publisher.cc:141] Queue limit reached for topic /gazebo/default/user_camera/pose, deleting message. This warning is printed only once

Thanks for your help! :frowning:


The drone only supports one video stream at a time. By calling
drone.start_video_streaming() from Olympe, you create a video stream here (even if you don’t use it afterwards), thus PDrAW can’t connect.

If you don’t consume the video stream from Olympe, you can safely remove this line, and then you should be able to connect with PDrAW directly :wink:


1 Like

It works! thank you so much :slight_smile: