pjsua_vid_preview_get_win method

int pjsua_vid_preview_get_win(
  1. int id
)

Get the preview window handle associated with the capture device, if any.

@param id The capture device ID.

@return The window ID of the preview window for the specified capture device ID, or PJSUA_INVALID_ID if preview has not been started for the device.

Implementation

int pjsua_vid_preview_get_win(
  int id,
) {
  return _pjsua_vid_preview_get_win(
    id,
  );
}