Client-Server video stream SRTP-DTLS

john1422 john1422 at inbox.lt
Mon Jan 13 18:22:52 UTC 2020


Hello,

I am in a mission to launch client-server srtp-dtls video stream with proper
key exchange. Unfortunately I was unable to launch one-way video stream. In
my case using pipelines provided below I get bidirectional streaming even if
in server side I use pipeline without providing any of video content. As I
have seen in this forum and github DTLS-SRTP example I must use two pair of
TX and RX pipelines to get a proper DTLS handshake. 

How I could modify my pipelines to get video streaming only from client to
server and view it on the server side?

Streaming side:
gst-launch-1.0 udpsrc port = 5002 ! .sink dtlssrtpdec connection-id=red
.rtp_src ! queue ! fakesink async=false -v filesrc
location=/home/user/Desktop/test.h264 ! h264parse ! avdec_h264 !
videoconvert ! x264enc ! rtph264pay ! "application/x-rtp, payload=(int)96,
ssrc=(uint)1356955624" ! .rtp_sink_0 dtlssrtpenc connection-id=red
is-client=True .src ! udpsink host=127.0.0.1 port=5000 

Playing side:
gst-launch-1.0 udpsrc port = 5000 ! .sink dtlssrtpdec connection-id=blue
.rtp_src ! "application/x-rtp, payload=(int)96, ssrc=(uint)1356955624" !
.rtp_sink_0 dtlssrtpenc connection-id=blue is-client=False .src ! udpsink
host=127.0.0.1 port=5002

Thank you in advance

Sincerely,
J. 



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list