Example #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();
     }
 }
Example #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);
    }