Is there anyway to use certificate in srtp instead of master key
balachandrens
balachandrencek at gmail.com
Tue Dec 17 09:35:47 UTC 2019
I have tried with below pipelines and everything is working fine.
gst-launch-1.0 udpsrc port=6000 ! "application/x-srtp,media=(string)audio,
clock-rate=(int)44100, encoding-name=(string)L16, channels=(int)2,
payload=(int)96,ssrc=(uint)1256955624,
srtp-key=(buffer)012345678901234567890123456789012345678901234567890123456789,
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 ! rtpL16depay ! audioconvert ! alsasink
gst-launch-1.0 -v alsasrc ! audioconvert !
audio/x-raw,channels=2,depth=16,width=16,rate=44100 ! rtpL16pay !
'application/x-rtp, ssrc=(uint)3412089386' ! srtpenc
key="012345678901234567890123456789012345678901234567890123456789" ! udpsink
host=192.168.7.1 port=6000
These pipelines will be running in two machines. But in my application I
can't use hard-coded key or use key kept in some file, so is there any
possibility that we can use certificates instead of a key.
I am new to gstreamer and this whole rtp stuffs, so please excuse if I am
posting anything wrong.
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list