public Gst.Sdp.MIKEYMapSRTP GetCsSrtp(uint idx) { IntPtr raw_ret = gst_mikey_message_get_cs_srtp(Handle, idx); Gst.Sdp.MIKEYMapSRTP ret = Gst.Sdp.MIKEYMapSRTP.New(raw_ret); return(ret); }
public bool ReplaceCsSrtp(int idx, Gst.Sdp.MIKEYMapSRTP map) { IntPtr native_map = GLib.Marshaller.StructureToPtrAlloc(map); bool raw_ret = gst_mikey_message_replace_cs_srtp(Handle, idx, native_map); bool ret = raw_ret; Marshal.FreeHGlobal(native_map); return(ret); }