Exemple #1
0
 public void setFormat(int dev_id, MediaFormatVideo format, bool keep)
 {
     pjsua2PINVOKE.VidDevManager_setFormat(swigCPtr, dev_id, MediaFormatVideo.getCPtr(format), keep);
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
    public MediaFormatVideo getFormat(int dev_id)
    {
        MediaFormatVideo ret = new MediaFormatVideo(pjsua2PINVOKE.VidDevManager_getFormat(swigCPtr, dev_id), true);

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