public class WOWZPlatformError extends WOWZError
WOWZStatus
object
returned by many of the API methods.Modifier and Type | Field and Description |
---|---|
static int |
AUDIO_DECODER_CONFIGURATION_FAILURE
An exception occurred attempting to configure the video decoder (value: #AUDIO_DECODER_CONFIGURATION_FAILURE).
|
static int |
AUDIO_DECODER_NOT_FOUND
This device doesn't appear to support a compatible H.264 video decoder (value: #AUDIO_DECODER_NOT_FOUND).
|
static int |
AUDIO_DECODER_NOT_RUNNING
The audio decoder isn't running (value: #AUDIO_DECODER_NOT_RUNNING).
|
static int |
AUDIO_DECODER_START_FAILURE
An exception occurred attempting to start the audio decoder (value: #AUDIO_DECODER_START_FAILURE).
|
static int |
AUDIO_ENCODER_CONFIGURATION_FAILURE
An exception occurred attempting to configure the video encoder (value: #AUDIO_ENCODER_CONFIGURATION_FAILURE).
|
static int |
AUDIO_ENCODER_NOT_FOUND
This device doesn't appear to support a compatible H.264 video encoder (value: #AUDIO_ENCODER_NOT_FOUND).
|
static int |
AUDIO_ENCODER_NOT_RUNNING
The audio encoder isn't running (value: #AUDIO_ENCODER_NOT_RUNNING).
|
static int |
AUDIO_ENCODER_START_FAILURE
An exception occurred attempting to start the audio encoder (value: #AUDIO_ENCODER_START_FAILURE).
|
static int |
AUDIO_RECORDER_BUFFER_CONFIGURATION_FAILURE
An error occurred configuring the audio device for recording (value: #AUDIO_RECORDER_FAILURE).
|
static int |
AUDIO_RECORDER_INITIALIZATION_FAILURE
An error occurred initializing the audio device for recording (value: #AUDIO_RECORDER_FAILURE).
|
static int |
AUDIO_RECORDER_READ_FAILURE
An exception occurred reading from the audio device (value: #AUDIO_RECORDER_FAILURE).
|
static int |
CAMERA_ACTIVATION_FAILURE
An exception occurred during camera activation (value: 52).
|
static int |
CAMERA_AUTOFOCUS_FAILURE
An exception occurred while setting the camera auto focus location (value: 55).
|
static int |
CAMERA_DISCOVERY_FAILURE
An exception occurred during camera discovery (value: 50).
|
static int |
CAMERA_INIT_FAILURE
An exception occurred during camera initialization (value: 51).
|
static int |
CAMERA_INTERROGATION_ERROR
An exception occurred determining the number of device cameras (value: 58).
|
static int |
CAMERA_PREVIEW_SDK_INIT_FAILURE
The GoCoder SDK must be initialized before starting the camera preview (value: 49).
|
static int |
CAMERA_PREVIEW_TEXTURE_FAILURE
An exception occurred setting the camera preview surface texture (value: 57).
|
static int |
CAMERA_RELEASE_FAILURE
An exception occurred while releasing the camera (value: 54).
|
static int |
CAMERA_TEXTURE_NOT_SET
An attempt was made to start the camera preview before the preview texture has been set (value: 56).
|
static int |
CAMERA_TORCH_FAILURE
An exception occurred changing the torch state (value: 53).
|
static int |
DECODER_NOT_RUNNING
The decoder isn't running (value: #DECODER_NOT_RUNNING).
|
static int |
DECODER_START_FAILURE
An exception occurred attempting to start the decoder (value: #DECODER_START_FAILURE).
|
static java.lang.String |
ERROR_CLASS |
static int |
MP4_FILE_OPEN_OUTPUT_FAILURE
The MP4 output file path hasn't been specified.
|
static int |
MP4_FILE_PATH_NOT_SPECIFIED
The MP4 output file path hasn't been specified (value: 60).
|
static int |
VIDEO_DECODER_CONFIGURATION_FAILURE
An exception occurred attempting to configure the video decoder (value: #VIDEO_DECODER_CONFIGURATION_FAILURE).
|
static int |
VIDEO_DECODER_NOT_FOUND
This device doesn't appear to support a compatible H.264 video decoder (value: #VIDEO_DECODER_NOT_FOUND).
|
static int |
VIDEO_DECODER_NOT_RUNNING
The video decoder isn't running (value: #VIDEO_DECODER_NOT_RUNNING).
|
static int |
VIDEO_DECODER_START_FAILURE
An exception occurred attempting to start the video decoder (value: #VIDEO_DECODER_START_FAILURE).
|
static int |
VIDEO_ENCODER_BITRATE_CHANGE_FAILURE
A MediaCodec exception occurred attempting to update the video encoder's bitrate (value: #VIDEO_ENCODER_BITRATE_CHANGE_FAILURE).
|
static int |
VIDEO_ENCODER_CONFIGURATION_FAILURE
An exception occurred attempting to configure the video encoder (value: #VIDEO_ENCODER_CONFIGURATION_FAILURE).
|
static int |
VIDEO_ENCODER_NOT_FOUND
This device doesn't appear to support a compatible H.264 video encoder (value: #VIDEO_ENCODER_NOT_FOUND).
|
static int |
VIDEO_ENCODER_NOT_RUNNING
The video encoder isn't running (value: #VIDEO_ENCODER_NOT_RUNNING).
|
static int |
VIDEO_ENCODER_START_FAILURE
An exception occurred attempting to start the video encoder (value: #VIDEO_ENCODER_START_FAILURE).
|
Constructor and Description |
---|
WOWZPlatformError(int errorCode)
The constructor for errors in this class.
|
WOWZPlatformError(int errorCode,
boolean isWarning)
The constructor for errors in this class.
|
WOWZPlatformError(int errorCode,
java.lang.Exception exception)
The constructor for errors in this class with an associated exception.
|
getErrorClass, getErrorCode, getErrorDescription, getException, isWarning, registerErrors, set, setErrorDescription, toString
public static final java.lang.String ERROR_CLASS
public static final int CAMERA_PREVIEW_SDK_INIT_FAILURE
public static final int CAMERA_DISCOVERY_FAILURE
public static final int CAMERA_INIT_FAILURE
public static final int CAMERA_ACTIVATION_FAILURE
public static final int CAMERA_TORCH_FAILURE
public static final int CAMERA_RELEASE_FAILURE
public static final int CAMERA_AUTOFOCUS_FAILURE
public static final int CAMERA_TEXTURE_NOT_SET
public static final int CAMERA_PREVIEW_TEXTURE_FAILURE
public static final int CAMERA_INTERROGATION_ERROR
public static final int MP4_FILE_OPEN_OUTPUT_FAILURE
public static final int MP4_FILE_PATH_NOT_SPECIFIED
public static final int VIDEO_ENCODER_NOT_FOUND
public static final int AUDIO_ENCODER_NOT_FOUND
public static final int VIDEO_ENCODER_CONFIGURATION_FAILURE
public static final int AUDIO_ENCODER_CONFIGURATION_FAILURE
public static final int VIDEO_ENCODER_START_FAILURE
public static final int AUDIO_ENCODER_START_FAILURE
public static final int VIDEO_ENCODER_BITRATE_CHANGE_FAILURE
public static final int VIDEO_ENCODER_NOT_RUNNING
public static final int VIDEO_DECODER_NOT_RUNNING
public static final int AUDIO_RECORDER_READ_FAILURE
public static final int AUDIO_RECORDER_BUFFER_CONFIGURATION_FAILURE
public static final int AUDIO_RECORDER_INITIALIZATION_FAILURE
public static final int VIDEO_DECODER_NOT_FOUND
public static final int AUDIO_DECODER_NOT_FOUND
public static final int VIDEO_DECODER_CONFIGURATION_FAILURE
public static final int AUDIO_DECODER_CONFIGURATION_FAILURE
public static final int VIDEO_DECODER_START_FAILURE
public static final int AUDIO_DECODER_START_FAILURE
public static final int AUDIO_ENCODER_NOT_RUNNING
public static final int AUDIO_DECODER_NOT_RUNNING
public static final int DECODER_NOT_RUNNING
public static final int DECODER_START_FAILURE
public WOWZPlatformError(int errorCode)
errorCode
- One of the error code specifiers defined by this class.public WOWZPlatformError(int errorCode, boolean isWarning)
errorCode
- One of the error code specifiers defined by this class.isWarning
- Indicates if the error can be considered just a warning.public WOWZPlatformError(int errorCode, java.lang.Exception exception)
errorCode
- One of the error code specifiers defined by this class.exception
- An exception to associate with this error.© 2016 - 2018 Wowza Media Systems, LLC. All rights reserved. Terms | Privacy | Trademarks | Legal