static int StreamSelect_cb(IntPtr inst, IntPtr url)
 {
     try {
         IRTSPExtensionImplementor __obj = GLib.Object.GetObject(inst, false) as IRTSPExtensionImplementor;
         Gst.Rtsp.RTSPResult       __result;
         __result = __obj.StreamSelect(Gst.Rtsp.RTSPUrl.New(url));
         return((int)__result);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, true);
         // NOTREACHED: above call does not return.
         throw e;
     }
 }