I’m experimenting on a Jetson Nano, with a deepstream-app and I would like to use a RTSP sink as output:
[sink0] enable=1 #Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming type=4 #1=h264 2=h265 codec=1 sync=0 bitrate=1000000 # set below properties in case of RTSPStreaming rtsp-port=8554 udp-port=6666
The problem with this configuration is that, even when there is no RTSP client connected, the video stream is sent on UDP on a the broadcast address (220.127.116.11).
Unfortunately, the UDP stream produced by the Jetson Nano causes delays in my network. For this reason, I would really like to disable UDP streaming, and use RTSP just on TCP.
So far, I tried to comment out to the udp-port property, and to set it to -1 or 0. None of these seems to work: the UDP data is still streamed on some default port.
The app I’m using right now is a very simple one:
- MIPI CSI camera used as a Source
- RTSP used as Sink
The full config used is:
[application] enable-perf-measurement=1 perf-measurement-interval-sec=5 #gie-kitti-output-dir=streamscl [source0] enable=1 #Type - 1=CameraV4L2 2=URI 3=MultiURI 4=RTSP 5=CSI type=5 camera-csi-sensor-id=0 camera-width=1280 camera-height=720 camera-fps-n=30 camera-fps-d=1 drop-frame-interval=1 gpu-id=0 # (0): memtype_device - Memory type Device # (1): memtype_pinned - Memory type Host Pinned # (2): memtype_unified - Memory type Unified cudadec-memtype=0 [sink0] enable=1 #Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming type=4 #1=h264 2=h265 codec=1 sync=0 bitrate=1000000 #bitrate=4000000 # set below properties in case of RTSPStreaming rtsp-port=8554 udp-port=6666 [streammux] gpu-id=0 ##Boolean property to inform muxer that sources are live live-source=0 batch-size=1 ##time out in usec, to wait after the first buffer is available ##to push the batch even if the complete batch is not formed batched-push-timeout=40000 ## Set muxer output width and height #width=1920 #height=1080 width=1280 height=720 ##Enable to maintain aspect ratio wrt source, and allow black borders, works ##along with width, height properties enable-padding=0 nvbuf-memory-type=0 [tests] file-loop=0
I would really appreciate some help with this!