Exemplo n.º 1
0
 public void mediaRemove(SWIGTYPE_p_AudioMedia media)
 {
     pjsua2PINVOKE.Endpoint_mediaRemove(swigCPtr, SWIGTYPE_p_AudioMedia.getCPtr(media));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
    public bool mediaExists(SWIGTYPE_p_AudioMedia media)
    {
        bool ret = pjsua2PINVOKE.Endpoint_mediaExists(swigCPtr, SWIGTYPE_p_AudioMedia.getCPtr(media));

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