Example #1
0
 public void videoCodecSetPriority(SWIGTYPE_p_string codec_id, SWIGTYPE_p_pj_uint8_t priority)
 {
     pjsua2PINVOKE.Endpoint_videoCodecSetPriority(swigCPtr, SWIGTYPE_p_string.getCPtr(codec_id), SWIGTYPE_p_pj_uint8_t.getCPtr(priority));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_pj_uint8_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }