pjsua_vid_win_set_fullscreen method

int pjsua_vid_win_set_fullscreen(
  1. int wid,
  2. int mode
)

Set video window full-screen. This operation is valid only when the underlying video device supports PJMEDIA_VID_DEV_CAP_OUTPUT_FULLSCREEN capability. Currently it is only supported on SDL backend.

@param wid The video window ID. @param mode Fullscreen mode, see pjmedia_vid_dev_fullscreen_flag.

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

Implementation

int pjsua_vid_win_set_fullscreen(
  int wid,
  int mode,
) {
  return _pjsua_vid_win_set_fullscreen(
    wid,
    mode,
  );
}