예제 #1
0
        public MediaTransportInfo getMedTransportInfo(uint med_idx)
        {
            MediaTransportInfo ret = new MediaTransportInfo(pjsua2PINVOKE.Call_getMedTransportInfo(swigCPtr, med_idx), true);

            if (pjsua2PINVOKE.SWIGPendingException.Pending)
            {
                throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MediaTransportInfo obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
예제 #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MediaTransportInfo obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
예제 #4
0
파일: Call.cs 프로젝트: Reltik/PJSip-CSharp
 public MediaTransportInfo getMedTransportInfo(uint med_idx)
 {
     MediaTransportInfo ret = new MediaTransportInfo(pjsua2PINVOKE.Call_getMedTransportInfo(swigCPtr, med_idx), true);
     if (pjsua2PINVOKE.SWIGPendingException.Pending) throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }