SRTP-DTLS issue

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

SRTP-DTLS issue

john1422
Hello, People. I know it is not a place for silly questions like this but
could anyone please give a bare example of SRTP-DTLS h264 video streaming
pipe line for server and client? Default SRTP stream works fine but as if I
try to describe the parameters of dtlssrtpenc/dec everything collapses.

As there are no existing examples on the net for this particular case. The
example in github
(https://github.com/GStreamer/gst-plugins-bad/tree/master/ext/dtls) shows
bidirectional audio stream example as in this case I only want to stream
video from one side to another.

Thank you in advance and hopefully will not be ridiculed for this type of
question as I really need help for getting on the road..



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: SRTP-DTLS issue

john1422
I use these pipes for SRTP. How I could update them to stream with DTLS?

My SRTP stream from the server side: gst-launch-1.0 -v filesrc
location=/home/user/Desktop/test.h264 ! h264parse ! avdec_h264 !
videoconvert ! x264enc ! rtph264pay ! "application/x-rtp, payload=(int)96,
ssrc=(uint)1356955624" ! srtpenc
key=987654321001234567890123456789012345678901234567890123456789
rtp-cipher=aes-128-icm rtp-auth=hmac-sha1-80 rtcp-cipher=aes-128-icm
rtcp-auth=hmac-sha1-80 ! udpsink host=127.0.0.1 port=5000

Client: gst-launch-1.0 udpsrc port=5000 caps="application/x-srtp,
encoding-name=H264, payload=(int)96, ssrc=(uint)1356955624,
srtp-key=(buffer)987654321001234567890123456789012345678901234567890123456789,
srtp-cipher=(string)aes-128-icm, srtp-auth=(string)hmac-sha1-80,
srtcp-cipher=(string)aes-128-icm, srtcp-auth=(string)hmac-sha1-80,
roc=(uint)0" ! srtpdec ! rtpjitterbuffer ! rtph264depay ! avdec_h264 !
videoconvert ! vaapisink

Thank you



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel