Hello to everyone.
Im working on this project :
At some point I will need to mount my camera (waveshare ; IMX219-77IR) on top of the drone and I would like to use Windows or Linux outside of nomachine (because the nano will be in headless mode),to display what the camera sees when the drone is flying. For this reason I’m trying to configure a gstreamer with RTSP to start a streaming server on the Ubuntu 18.04 that I have installed on the jetson nano. (Keep in consideration that I will attach to the nano the “huawei e3372 4g” dongle to provide to the drone a mobile connection,instead of a wi-fi connection and this may have an impact on the performance of the encoder used).
To achieve my goal this is the thread that I’m following :
At some point DaneLLL says :
Please also try test-launch.c @ https://github.com/GStreamer/gst-rtsp-server/blob/master/examples/test-launch.c 136
Target
sudo apt-get install libgstrtspserver-1.0 libgstreamer1.0-dev
gcc test-launch.c -o test-launch $(pkg-config --cflags --libs gstreamer-1.0 gstreamer-rtsp-server-1.0)
./test-launch “videotestsrc ! omxh265enc ! rtph265pay name=pay0 pt=96”
Host
Open network stream rtsp://<TARGET_IP_ADDRESS>:8554/test via VLC
it seems that it worked :
root@ziomario-desktop:/home/ziomario/Desktop/Tools2# gcc test-launch.c -o test-launch $(pkg-config --cflags --libs gstreamer-1.0 gstreamer-rtsp-server-1.0)
root@ziomario-desktop:/home/ziomario/Desktop/Tools2# ./test-launch “videotestsrc ! omxh265enc ! rtph265pay name=pay0 pt=96”
stream ready at rtsp://127.0.0.1:8554/test
but only on the server side. I’m not able to connect to it using VLC…below you can see some screenshots that show you how I have configured VLC…
https://drive.google.com/drive/folders/1hene2_WM8Qym1VsRzlMOUpeyHH1syR5B?usp=sharing
I tried both places : I tried to connect VLC to 127.0.0.1 locally,inside ubuntu where it runs nomachine server and outside,in windows,trying to connect VLC to 192.168.1.3 that’s the internal IP of nano / ubuntu on my LAN. It does not connect.
Please give me a suggestion about how to fix it,thanks. Can you tell me where the error is ? thanks.