static bool ConfigureStream_cb(IntPtr inst, IntPtr caps) { try { IRTSPExtensionImplementor __obj = GLib.Object.GetObject(inst, false) as IRTSPExtensionImplementor; bool __result; __result = __obj.ConfigureStream(caps == IntPtr.Zero ? null : (Gst.Caps)GLib.Opaque.GetOpaque(caps, typeof(Gst.Caps), false)); return(__result); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }