Ejemplo n.º 1
0
 public virtual void onCreateMediaTransportSrtp(OnCreateMediaTransportSrtpParam prm)
 {
     if (SwigDerivedClassHasMethod("onCreateMediaTransportSrtp", swigMethodTypes21))
     {
         pjsua2PINVOKE.Call_onCreateMediaTransportSrtpSwigExplicitCall(swigCPtr, OnCreateMediaTransportSrtpParam.getCPtr(prm));
     }
     else
     {
         pjsua2PINVOKE.Call_onCreateMediaTransportSrtp(swigCPtr, OnCreateMediaTransportSrtpParam.getCPtr(prm));
     }
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(OnCreateMediaTransportSrtpParam obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }