Hello all,
I am using the RTSP streams from a Starling 2 Max drone, it is unclear to me how voxl-streamer
and voxl-mavcam-manager
interplay with the produced RTSP streams. Ideally, I want to be able to automatically setup several streams for different cameras. I already have a setup to intercept the streams and just need to get the aircraft to broadcast the separate streams.
- Based on the
voxl-streamer
documentation, it seems that it is the RTSP streams which are what QGC is using to display video.
- The
voxl-mavcam-manager
documentation seems to indicate that it is the method by which QGC locates the necessary RTSP streams.
- My understanding is that the
voxl-mavcam-manager
is what creates the other, camera components that are visible as mavlink heartbeats and which QGC can query to get the RTSP URI and send commands to.
- However, I do not understand why the
voxl-mavcam-manager.conf
includes snapshot, video record pipes, and URI fields.
- Is the URI assumed to be the input to
voxl-mavcam-manager
, where it can find the RTSP stream to send to QGC? Or is this the output, i.e. where voxl-mavcam-manager
will send the stream. Based on other wording in the doc I would assume the former but am not sure, I have not been able to view 2 streams from QGC.
- Since it seems I will need to have 2 instances of
voxl-streamer
running, how can I set this up programmatically such that the 2 instances are started on startup. It does not seem like I can just add another streamer to the voxl-streamer.conf
file.
- If I want to have 2 streams running while not in SoftAP mode, how can I setup the uri? The documentation indicates that using auto ip is only possible when streaming a single RTSP stream.
- How can I manage 2 streams when connected over 4G/5G? Will I need to hardcode in the ip address of the drone?
I have not yet been able to get 2 streams to appear in QGC with the following voxl-mavcam-manager.conf
:
{
"mavcam_inputs": [{
"snapshot_pipe_name": "hires_front_snapshot",
"video_record_pipe_name": "hires_front_large_encoded",
"default_uri": "rtsp://192.168.8.1:8900/live",
"enable_auto_ip": true,
"mavlink_sys_id": 1
},{
"snapshot_pipe_name": "hires_down_snapshot",
"video_record_pipe_name": "hires_down_large_encoded",
"default_uri": "rtsp://192.168.8.1:8901/live",
"enable_auto_ip": true,
"mavlink_sys_id": 1
}]
}
and a second stream started manually with voxl-streamer -s
on port 8901
.
Any help is appreciated,
Griffin