set srtp-key to udpsrc caps
Alicia Romero
alromor84 at gmail.com
Tue Jul 21 05:36:52 PDT 2015
Hi!
I want to set to udpsrc the srtp-key for using the plugin srtp:
[...]
char key[]="0123456789012345678901234567890"
GstBuffer *buf = gst_buffer_new_wrapped ( g_memdup(key, strlen(key_ptr)),
strlen(key_ptr));
GstCaps *caps = gst_caps_new_simple ("application/x-srtp",
"media", G_TYPE_STRING, "video",
"clock-rate", G_TYPE_INT, 90000,
"srtp-key", G_TYPE_POINTER, buf,
NULL);
[..]
But this is not workin, in fact there is a SIGSEGV.
I don't know how to do that, can anyone help me?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150721/ee85be7c/attachment-0001.html>
More information about the gstreamer-devel
mailing list