Data class used to pass the video configuration from the client to the service.
Nested Class Summary
class | VideoConfiguration.Builder | Builder class for
VideoConfiguration . |
|
@interface | VideoConfiguration.ValidCaptureModes | Valid capture modes. |
Constant Summary
int | CAPTURE_MODE_FILE | Capture device audio and video to a local file. |
int | CAPTURE_MODE_STREAM | Capture device audio and video, and stream it live. |
int | CAPTURE_MODE_UNKNOWN | An unknown value to return when capture mode is not available. |
int | NUM_CAPTURE_MODE | The number of available capture modes. |
int | NUM_QUALITY_LEVEL | The number of available quality levels. |
int | QUALITY_LEVEL_FULLHD | Full HD quality: 2160P resolution and high bit rate, e.g. |
int | QUALITY_LEVEL_HD | HD quality: DVD HD resolution (i.e. |
int | QUALITY_LEVEL_SD | SD quality: Standard def resolution (e.g. |
int | QUALITY_LEVEL_UNKNOWN | An unknown value to return when quality level is not available. |
int | QUALITY_LEVEL_XHD | Extreme HD quality: BluRay HD resolution (i.e. |
Inherited Constant Summary
Field Summary
public static final Creator<VideoConfiguration> | CREATOR |
Public Method Summary
boolean | |
int | |
boolean | |
int | |
static boolean |
isValidCaptureMode(int captureMode, boolean allowUnknown)
|
static boolean |
isValidQualityLevel(int qualityLevel, boolean allowUnknown)
|
void |
writeToParcel(Parcel out, int
flags)
|
Inherited Method Summary
Constants
public static final int CAPTURE_MODE_FILE
Capture device audio and video to a local file.
public static final int CAPTURE_MODE_STREAM
Capture device audio and video, and stream it live.
public static final int CAPTURE_MODE_UNKNOWN
An unknown value to return when capture mode is not available.
public static final int NUM_CAPTURE_MODE
The number of available capture modes.
public static final int NUM_QUALITY_LEVEL
The number of available quality levels.
public static final int QUALITY_LEVEL_FULLHD
Full HD quality: 2160P resolution and high bit rate, e.g. 10-12Mbps.
public static final int QUALITY_LEVEL_HD
HD quality: DVD HD resolution (i.e. 720p) and a medium bit rate (e.g. 3-4Mbps).
public static final int QUALITY_LEVEL_SD
SD quality: Standard def resolution (e.g. 480p) and a low bit rate (e.g. 1-2Mbps).
public static final int QUALITY_LEVEL_UNKNOWN
An unknown value to return when quality level is not available.
public static final int QUALITY_LEVEL_XHD
Extreme HD quality: BluRay HD resolution (i.e. 1080p) and a high bit rate (e.g. 6-8Mbps).
Fields
public static final Creator<VideoConfiguration> CREATOR
Public Methods
public boolean getCameraEnabled ()
Returns
- Whether the user's avatar should be shown or hidden.
public int getCaptureMode ()
Returns
- The capture mode of this configuration. One of
CAPTURE_MODE_FILE
orCAPTURE_MODE_STREAM
.
public boolean getMicEnabled ()
Returns
- Whether audio recording should be enabled or disabled.
public int getQualityLevel ()
Returns
- The quality level of this configuration. One of
QUALITY_LEVEL_FULLHD
,QUALITY_LEVEL_XHD
,QUALITY_LEVEL_HD
, orQUALITY_LEVEL_SD
.