Error: gst_rtsp_server_attach_failed
-
Trying to get rtsp stream from hi res camera of sentinel voxl2. I dont have doodle labs or 5g. Can someone please help as im getting above error. Camera server connected. The pc is connected direct to voxl wifi. In rtsp-streamer it seems to get 0 from gst rtsp server attach after creating rtsp server main loop source for callback. Cannot find any info online to get past this.
-
Hi @Moodsh00 ,
Have you tried using
voxl-streamer
? This would be the preferred way of using gsthttps://docs.modalai.com/voxl-streamer/
Source code here:
https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-streamer
-
Thanks for reply. The error message referred to is actually from voxl-streamer. I enter the shell; then type voxl-streamer. It responds saying:
using config file etc/modalai/voxl-streamer
Camera server connected.
ERROR: gst rtsp server attach fail -
Thanks for reply. The error message referred to is actually from voxl-streamer. I enter the shell; then type voxl-streamer. It responds saying:
using config file etc/modalai/voxl-streamer
Camera server connected.
ERROR: gst rtsp server attach fail -
If you run
voxl-inspect-cam -a
do you have hires showing up?Can check out this config file:
/etc/modalai/voxl-streamer.conf
Here's hires example config: https://docs.modalai.com/voxl-streamer/#high-resolution-hires-camera-example
-
Yes it shows up. 480X640 with 11.90ms exposure and gt =2
It also shows up fine in the web portal
-
I figured it out this weekend. It had to do with a swap file in streamer config. I deleted the file and rtsp showed up. However now im trying to get rtsp stream quality to match the quality on voxl portal. Its really grainy. I tried the config files in streamer at 1920X1080 and increased the bitrate by a factor of 5. Will try the camera server today.
Also; is there a way to stream to both vlc and gcs at same time. The feed cuts when i try a second viewer.
Lastly; is there a way to keep the rtsp stream connected to gcs from bootup. It seems like when i close the shell; the rtsp stream to gcs gets lost.
Many thanks again.