pjsua_vid_win_set_win method

int pjsua_vid_win_set_win(
  1. int wid,
  2. Pointer<pjmedia_vid_dev_hwnd> win
)

Set output window. This operation is valid only when the underlying video device supports PJMEDIA_VIDEO_DEV_CAP_OUTPUT_WINDOW capability AND allows the output window to be changed on-the-fly. Currently it is only supported on Android.

@param wid The video window ID. @param win The new output window.

@return PJ_SUCCESS on success, or the appropriate error code.

Implementation

int pjsua_vid_win_set_win(
  int wid,
  ffi.Pointer<pjmedia_vid_dev_hwnd> win,
) {
  return _pjsua_vid_win_set_win(
    wid,
    win,
  );
}