コード例 #1
0
 static void OnSelectedCandidatePairChange_cb(IntPtr inst)
 {
     try {
         WebRTCICETransport __obj = GLib.Object.GetObject(inst, false) as WebRTCICETransport;
         __obj.OnOnSelectedCandidatePairChange();
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, false);
     }
 }
コード例 #2
0
 static void OnNewCandidate_cb(IntPtr inst, IntPtr _object)
 {
     try {
         WebRTCICETransport __obj = GLib.Object.GetObject(inst, false) as WebRTCICETransport;
         __obj.OnOnNewCandidate(GLib.Marshaller.Utf8PtrToString(_object));
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, false);
     }
 }
コード例 #3
0
 static bool GatherCandidates_cb(IntPtr inst)
 {
     try {
         WebRTCICETransport __obj = GLib.Object.GetObject(inst, false) as WebRTCICETransport;
         bool __result;
         __result = __obj.OnGatherCandidates();
         return(__result);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, true);
         // NOTREACHED: above call does not return.
         throw e;
     }
 }