Ticket #1949 (closed enhancement: fixed)

Opened 14 months ago

Last modified 14 months ago

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) (diff)

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

comment:1 Changed 14 months ago by ming

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

In 5407:

Fixed #1949: Support video window manipulation for native preview

comment:2 Changed 14 months ago by ming

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