|
I have fixed my issue by using two udpsinks :
gst-launch-1.0 rtspsrc location=rtsp://localhost/h265 latency=0 name=demux ! rtpmp4gdepay ! rtpmp4gpay ! queue ! application/x-rtp,payload=97 ! udpsink host=192.168.1.141 port=8000 demux. ! rtph265depay ! rtph265pay config-interval=1 ! queue ! application/x-rtp,payload=96 ! udpsink host=192.168.1.141 port=8000
Then on the other end I used rtpptdemux to separate out the rtp packets by payload. This works well.
I did notice that I could also use rtpbin to mux and demux the different streams which would also give RTCP packets.
|