<div dir="ltr"><div><div><div><div>Hi!<br></div>I want to set to udpsrc the srtp-key for using the plugin srtp:<br><br>[...]<br>char key[]="0123456789012345678901234567890"<br><br>GstBuffer *buf = gst_buffer_new_wrapped ( g_memdup(key, strlen(key_ptr)),<br>                                                                 strlen(key_ptr));<br><br>GstCaps *caps = gst_caps_new_simple ("application/x-srtp",<br>      "media", G_TYPE_STRING, "video",<br>      "clock-rate", G_TYPE_INT, 90000,<br>      "srtp-key", G_TYPE_POINTER, buf,<br>      NULL);<br><br>[..]<br><br></div>But this is not workin, in fact there is a SIGSEGV.<br></div>I don't know how to do that, can anyone help me?<br><br></div>Thanks!<br></div>