Gstreamer error: Streaming video to QGC over LTE
-
@tom even if he resolves the gstreamer errors, wont this also not work because wwan0 is not in network_preferences?
@Rawdha-R see here https://forum.modalai.com/topic/3660/streaming-video-to-qgc-over-lte?_=1728315665042
-
@groupo Good call, another thing worth investigating
-
Hi @Rawdha-R I think there is just an interface error you are doing incorrectly with your tailscale setup.
I am able to connect over both 4g and 5g via tailscale to both PX4 from QGC and to VLC from voxl-streamer.
What services do you have running on your voxl2? Do you have voxl-camera-server and voxl-streamer both configured? Are both the voxl2 and the parent computer you are trying to view the stream with both on the same VPN on tailscale? Can you ping the voxl2 from the parent computer over tailscale and vice versa?
-
@Zachary-Lowell-0
@tom @groupoThe setup is working well. I successfully pinged both the VOXL drone and the parent computer:
Additionally, I managed to stream using MVP, and it functioned:
As for the wwan0, I have confirmed that an IP address is displayed:
Both voxl-streamer and voxl-camera-server is enabled and running:
However, I'm still encountering some difficulties with streaming on VLC and QGroundControl (QGC). I've installed the necessary GStreamer dependencies, but I continue to receive errors when attempting to stream on both platforms.
I have following the instructions in this link to install gstreamer properly:
https://gstreamer.freedesktop.org/documentation/installing/on-linux.html?gi-language=cP.S: I'm using Ubuntu 22.04.5 LTS
-
@Rawdha-R Can you try adding
tailscale0
to the top of the list in/etc/modalai/network_interface_preferences.txt
and power cycling your voxl? -
@tom Like this:
# List the order of priority of network interfaces here. # Top is most important # Bottom is least important tailscale0 tun0 eth0 usb0 wlan0 wwan0 # end
-
@Rawdha-R please go into voxl-streamer config /etc/modalai/voxl-streamer.conf and change the auto ip to false and then change the url to match the IP address of that in your tailscale IP. I believe what is happening right now is voxl streamer might be prioritizing a different IP as Tom mentioned above.
Zach
-
I have configured Tailscale as a priority network:
While setting up the voxl-streamer (located at /etc/modalai/voxl-streamer.conf) with the new URL, I noticed that the parameters auto_ip and url were missing:
I have added both parameters, setting auto_ip to false and updating the url with the Tailscale IP address and I checked the voxl-streamer and found that the stream value is still showing as 127.0.0.1:
After these adjustments and power cycling the device, Additionally, I attempted to check the connection in QGroundControl and VLC, but I'm encountering some errors:
-
@Rawdha-R those parameters are in voxl-mavcam-manager.conf not voxl-streamer. Apologies for mispeaking. Please remove those from voxl-streamer as it is most likley causing it to crash and then restart voxl-streamer and voxl-mavcam-manager.
-
No worries, I reverted the voxl-streamer configuration to its original settings, restarted it, then updated and restarted voxl-mavcam-manager.conf.
Afterwards, I attempted to set the RTSP stream to the specific IP address:
When I checked voxl-streamer, the output showed the following:
This is the errors that I got from Qground:
-
@Rawdha-R Are you able to pull up the stream in something like VLC? Trying to determine if it is indeed a QGC issue
-
@tom
No, I’m not able to pull up the stream in VLC, I’m getting this error:
-
@Rawdha-R Do you have this same issue if you try to stream over just wifi with no vpn?