Fwd: GStreamer SRTP Question

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fwd: GStreamer SRTP Question

Nicolas Dufresne
 
 

-------- Message original --------
Sujet: GStreamer SRTP Question
Date: Samedi, Décembre 30, 2017 02:55 EST
De: Soheil Gholami <[hidden email]>
Pour: [hidden email], [hidden email], [hidden email], [hidden email], [hidden email]
 
 
Hi,

I'm new to GStreamer framework. Would you please help me with this
Gstreamer SRTP pipeline:

Sender:

PORT=5000
HOST=127.0.0.1

gst-launch-1.0 -v \
v4l2src device=/dev/video0 !\
capsfilter caps="video/x-raw, width=640, height=480" !\
x264enc name="encoder" \
tune=zerolatency byte-stream=true bitrate=3000 threads=2 !\
h264parse config-interval=1 !\
rtph264pay !\
capsfilter caps='application/x-srtp, payload=96, ssrc=1356955624'
srtpenc key="012345678901234567890123456789012345678901234567890123456789"
!\
udpsink host=$HOST port=$PORT

Receiver:

PORT=5000

gst-launch-1.0 \
udpsrc port=$PORT !\
capsfilter caps="application/x-srtp,\
 encoding-name=H264,\
 ssrc=1356955624, \
 srtp-key=012345678901234567890123456789012345678901234567890123456789,\
 srtp-cipher=aes-128-icm,\
 srtp-auth=hmac-sha1-80" !\
srtpdec !\
rtph264depay !\
h264parse !\
avdec_h264 name="decoder" !\
autovideosink

In RTP pipeline, there is no problem, but in SRTP I can not reach to result.

Thank you very much.
 
 
 

 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel