Dear all,
I am using a Jetson Orin NX board with Jetpack 5.1.2 and GStreamer 1.16.3 installed. My task is to send video from the camera mounted on the Orin NX board to a mediamtx server via RTMP using GStreamer, and then play the video on an Ubuntu 20.04 laptop console using SRT with GStreamer.
Initially, I confirmed that communication via RTMP and RTSP using GStreamer worked well, and the video output was good. However, I am consistently encountering error messages when using SRT. The port number for SRT on the mediamtx server is 8890.
Here is the command and error message:
$ gst-launch-1.0 -v srtsrc uri="srt://board_ip_address:8890?streamid=read:mystream" ! queue ! decodebin ! videoconvert ! autovideosink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
11:01:18 AM.516419/SRT:RcvQ:worker*E:SRT.c: processAsyncConnectRequest: REJECT reported from HS processing, not processing further.
11:01:18 AM.516456/SRT:RcvQ:worker*E:SRT.c: RendezvousQueue: processAsyncConnectRequest FAILED. Setting TTL as EXPIRED.
11:01:18 AM.773560/SRT:RcvQ:worker*E:SRT.c: processAsyncConnectRequest: REJECT reported from HS processing, not processing further.
11:01:18 AM.773645/SRT:RcvQ:worker*E:SRT.c: RendezvousQueue: processAsyncConnectRequest FAILED. Setting TTL as EXPIRED.
I have tried various methods for a week to resolve this issue.
First, I confirmed that the video output worked well when using VLC with the URI ‘srt://board_ip_address:8890?streamid=read’.
Since GStreamer 1.16.3 was installed with Jetpack 5.1.2, I am worried that upgrading to a more recent version might cause compatibility issues. I attempted to install GStreamer 1.20.3 using meson and ninja, but GStreamer 1.16.3 remained on the system, so I eventually uninstalled GStreamer 1.20.3.
When I used FFmpeg for SRT communication, the video output was good. Therefore, it does not seem to be a network configuration issue, but rather a problem specifically with GStreamer.
Is there any way to resolve this issue? Should I upgrade to a newer version of GStreamer? If I do, will there be any compatibility issues with Jetpack 5.1.2?
I urgently need help with this.
Thank you in advance.