1 | | Currently pjsua_vid_win API will return PJ_EINVAL if the video capture preview is native, such as on iOS. Since the underlying pjmedia videodev implementation already supports it, this ticket will enchance pjsua_vid_win API to support it as well. |
| 1 | Currently pjsua_vid_win API will return PJ_EINVAL if the video capture preview is native, such as on iOS. This means that application has to manually get the native window handle and use the OS API directly. However, this could be problematic, for example on iOS, the UIView window also contains a preview layer which is not exposed to the application. Hence, resizing the window container itself (by calling the iOS API) will not resize the preview layer itself. |
| 2 | |
| 3 | Thus, since the underlying pjmedia videodev implementation already supports such capabilities, this ticket will enchance pjsua_vid_win API to support them as well. |