pjsua_vid_dev_is_active method

int pjsua_vid_dev_is_active(
  1. int id
)

Check whether the video capture device is currently active, i.e. if a video preview has been started or there is a video call using the device. This function will return PJ_FALSE for video renderer device.

@param id The video device index.

@return PJ_TRUE if active, PJ_FALSE otherwise.

Implementation

int pjsua_vid_dev_is_active(
  int id,
) {
  return _pjsua_vid_dev_is_active(
    id,
  );
}