示例#1
0
 public void codecSetParam(string codec_id, CodecParam param)
 {
     pjsua2PINVOKE.Endpoint_codecSetParam(swigCPtr, codec_id, CodecParam.getCPtr(param));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
        public CodecParam codecGetParam(string codec_id)
        {
            CodecParam ret = new CodecParam(pjsua2PINVOKE.Endpoint_codecGetParam(swigCPtr, codec_id), true);

            if (pjsua2PINVOKE.SWIGPendingException.Pending)
            {
                throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CodecParam obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }