request_key_callback issue

sameer_evon sameer.thapa at evontech.com
Tue Apr 7 17:47:16 UTC 2020


Hello team,

I am receiving this error in the request_key_callback() of srtpdec.

(recorder:11814): GLib-GObject-CRITICAL **: 23:19:39.023: g_object_unref:
assertion 'G_IS_OBJECT (object)' failed

** (recorder:11814): CRITICAL **: 23:19:39.024:
update_session_stream_from_caps: assertion 'GST_IS_SRTP_DEC (filter)' failed

Below is the code:

GstCaps 
request_key_callback (GstElement  gstsrtpdec, guint  ssrc, gpointer  udata)
{
    string *capstring = (string *)udata;
   
boost::replace_all(*capstring,"<SSRC>",boost::lexical_cast<string>(ssrc));
    const char * cstr = (capstring)->c_str();
    cout<<"requestckeycallback capstring====== "<<cstr<<endl;
    GstCaps *caps = gst_caps_from_string(cstr);
    cout<<"returning capstring"<<endl;
    return *caps;
}

Please let me know what wrong am I doing.

Thanks



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list