<div dir="ltr">Hi everyone,<br>  I am trying to use srtp element in gstreamer pipeline (gstreamer-1.2.4 on ubuntu 14.04 LTS with good,base and bad plugins installed). I want to encrypt an H264 encoded stream after rtph264pay element in a pipeline and then transmit using udpsink but i am unable to do it. Here is my test setup. <br>  On the trasmission side, i am transmitting the data on localhost using port '5000'<br><br>Transmit-encrypt command:<br>gst-launch-1.0 -v uridecodebin uri=file:///home/username/Hugo.mkv ! x264enc ! rtph264pay ! srtpenc key="012345678901234567890123456789012345678901234567890123456789" ! udpsink host="127.0.0.1" port="5000"<br><br>  On the receiving side, i have the following command with caps copied from the transmission side.<br><br>Recieve-decrypt command:<br>gst-launch-1.0 -v udpsrc port="5000" caps = 'application/x-srtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96, 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' ! srtpdec ! rtph264depay ! h264parse ! avdec_h264 ! xvimagesink<br><br>  When i start playing pipeline, there is no error on the command prompt, however there is no output dispaly at the recieving end. What could i possibly be missing in this configuration. If i do encrypt and decrypt on the transmit side as below, everything works fine.<br> <br>gst-launch-1.0 -v uridecodebin uri=file:///home/burqstream/Hugo.mkv ! x264enc ! rtph264pay ! srtpenc key="012345678901234567890123456789012345678901234567890123456789" ! srtpdec ! udpsink host="127.0.0.1" port="5000"<br><br>  kindly guide me in fixing this pipeline. Your help will be highly appreciated.<br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Regards</div>
<div>M - Farooq</div>
<div><br></div>
<div>Email :- <a href="mailto:mhdfarooq90@gmail.com" target="_blank">mhdfarooq90@gmail.com</a></div></div></div></div></div>
</div>