Publisher.CameraCaptureFrameRate
Copy
public static final enum CameraCaptureFrameRate
Enclosing class: Publisher
Defines values for the frameRate parameter of the
Publisher.Builder#frameRate(Publisher.CameraCaptureFrameRate frameRate) method.
Note that in sessions that use the OpenTok Media Router (sessions with the media mode set to routed), lowering the frame rate proportionally reduces the bandwidth the stream uses. However, in sessions that have the media mode set to relayed, lowering the frame rate does not reduce the stream's bandwidth. (See The OpenTok Media Router and media modes.)
Enum constants
| Name | Description |
|---|---|
FPS_30 |
30 frames per second. |
FPS_15 |
15 frames per second. |
FPS_7 |
7 frames per second. |
FPS_1 |
1 frame per second. |
Methods
| Name | Description |
|---|---|
(static) valueOf(name) → {Publisher.CameraCaptureFrameRate} |
|
(static) values() → {Publisher.CameraCaptureFrameRate[]} |
(static) valueOf(name) → {Publisher.CameraCaptureFrameRate}
Parameters:
| Name | Type | Description |
|---|---|---|
name |
String |
Returns:
Publisher.CameraCaptureFrameRate
(static) values() → {Publisher.CameraCaptureFrameRate[]}
Returns:
Publisher.CameraCaptureFrameRate[]