OTCameraCaptureResolution Constants Reference

Declared in OTPublisher.h

OTCameraCaptureResolution

Defines values for the cameraResolution parameter of the [OTPublisher initWithDelegate:name:cameraResolution:cameraFrameRate:] method.

Definition

typedef NS_ENUM(NSInteger, OTCameraCaptureResolution ) {
   OTCameraCaptureResolutionLow,
   OTCameraCaptureResolutionMedium,
   OTCameraCaptureResolutionHigh,
   OTCameraCaptureResolutionHigh1080p,
};

Constants

OTCameraCaptureResolutionLow

The lowest available camera capture resolution supported in the OpenTok iOS SDK (352x288) or the closest resolution supported on the device.

Declared In OTPublisher.h.

OTCameraCaptureResolutionMedium

VGA resolution (640x480) or the closest resolution supported on the device.

Declared In OTPublisher.h.

OTCameraCaptureResolutionHigh

HD resolution (1280x720) or the closest resolution supported on the device.

Declared In OTPublisher.h.

OTCameraCaptureResolutionHigh1080p

1080p resolution (1920x1080), the highest available camera capture resolution supported in the OpenTok iOS SDK, or the closest resolution supported on the device. For important considerations in using 1080p video, see this developer guide. Additionally, 1080p resolution is only recommended for relayed sessions.

Declared In OTPublisher.h.

Declared In

OTPublisher.h