public class BitrateNotSupportedException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
static int |
REASON_VIDEO_PROFILE_NOT_SUPPORTED
Video profile not supported by the device.
|
static int |
REASON_VIDEO_RESOLUTION_HIGHER_THAN_SCREEN
Resolution of the video stream is not supported by the device.
|
Constructor and Description |
---|
BitrateNotSupportedException(java.lang.String description,
int reason,
int iFailedBitrateIndex)
Constructor of the class
|
Modifier and Type | Method and Description |
---|---|
int |
getFailedBitrateIndex()
Gets the index of the bitrate that was not supported
|
int |
getReason()
Gets the reason because the bitrate switch failed
|
public static final int REASON_VIDEO_PROFILE_NOT_SUPPORTED
public static final int REASON_VIDEO_RESOLUTION_HIGHER_THAN_SCREEN
public BitrateNotSupportedException(java.lang.String description, int reason, int iFailedBitrateIndex)
description
- Detailed description of the issuereason
- Reason because the bitrate selection failed. See REASON_XXX codes for more information
about the possible values this parameter can have.iFailedBitrateIndex
- Index of the bitrate that was not supportedpublic int getFailedBitrateIndex()
public int getReason()