Publisher.CameraCaptureResolution

public static final enum CameraCaptureResolution

Enclosing class: Publisher

Defines values for the resolution parameter of the Publisher.Builder#resolution(Publisher.CameraCaptureResolution resolution) method.

Enum constants

Name Description
LOW The lowest available camera capture resolution supported in the OpenTok Android SDK (352x288) or the closest resolution supported on the device.
MEDIUM VGA resolution (640x480) or the closest resolution supported on the device.
HIGH HD resolution (1280x720) or the closest resolution supported on the device.
HIGH_1080P 1080p resolution (1920x1080), the highest available camera capture resolution supported in the OpenTok iOS SDK or the closest resolution supported on the device. Note: For important considerations in using 1080p video, see this developer guide. Additionally, 1080p resolution is only recommended for relayed sessions.

Methods

Name Description
(static) valueOf(name) → {Publisher.CameraCaptureResolution}
(static) values() → {Publisher.CameraCaptureResolution[]}

(static) valueOf(name) → {Publisher.CameraCaptureResolution}

Parameters:
Name Type Description
name String
Returns:

Publisher.CameraCaptureResolution

(static) values() → {Publisher.CameraCaptureResolution[]}

Returns:

Publisher.CameraCaptureResolution[]