Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#1949 closed enhancement (fixed)

Support video window manipulation for native preview

Reported by: ming Owned by: bennylp
Priority: normal Milestone: release-2.6
Component: pjsua-lib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description (last modified by ming)

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.

Thus, since the underlying pjmedia videodev implementation already supports such capabilities, this ticket will enchance pjsua_vid_win API to support them as well.

Change History (2)

comment:1 Changed 7 years ago by ming

  • Resolution set to fixed
  • Status changed from new to closed

In 5407:

Fixed #1949: Support video window manipulation for native preview

comment:2 Changed 7 years ago by ming

  • Description modified (diff)
Note: See TracTickets for help on using tickets.