srtp+openssl+ cryptodev+gstreamer rtsp server

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

srtp+openssl+ cryptodev+gstreamer rtsp server

1,308 Views
bandarulavanya
Contributor V

Hi Every one,

We are using yocto setup 1.7 version kernel 3.14.28 ,gstreamer1.0-rtsp-server,openssl,cryptodev-linux,libsrtp-1.5.3,gstreamer1.0-bad-plugins.

Used above sources we got libsrtp.so* ,libssl.so,cryptodev.ko ,libgstsrtp.so,libgstrtspserver.so,test-video binaries .

we run test-video binary on target board with hard ware caam.but we checked cat /proc/intrupts .but not showing caam log in that .and then we got

("ERROR: v4l2 capture: mxc_v4l_dqueue() interrupt received) then stop the streaming .and then segmentation fault came.

.

we checked cpu % age with cryptodev(4-5%) and with out cryptodev (20-21%)  showing.

on client side we run below command

gst-launch-1.0 rtspsrc location=rtsps://192.168.2.236:8554/test tls-validation-flags=generic-error user-id=user user-pw=password ! decodebin ! autovideosink

Can you any guide me .how to test hardware encryption with srtp through openssl and openssl to cryptodev .

Thanks & Regards

veeranjaneyulu

Labels (3)
0 Kudos
1 Reply

595 Views
b36401
NXP Employee
NXP Employee

Did not you forget to perform "modprobe cryptodev"?

Please first perform tests from sections 9 "Security" and 7.3.10 "Real Time Streaming Protocol (RTSP) playback"

of i.MX Linux User's Guide.

Have a great day,

Victor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos