Fwd: GStreamer SRTP Question
Nicolas Dufresne
nicolas.dufresne at collabora.co.uk
Tue Jan 2 14:47:51 UTC 2018
-------- Message original --------
Sujet: GStreamer SRTP Question
Date: Samedi, Décembre 30, 2017 02:55 EST
De: Soheil Gholami <soheil.gholami28 at gmail.com>
Pour: balazs.kreith at gmail.com, varun at callstats.io, nicolas at collabora.com, bilboed at bilboed.com, havard at pexip.com
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.
More information about the gstreamer-devel
mailing list