Audio devive library specific error codes.
More...
Video device library specific error codes.
◆ PJMEDIA_AUDIODEV_ERRNO_START
Start of error code relative to PJ_ERRNO_START_USER. This value is 420000.
◆ PJMEDIA_AUDIODEV_PORTAUDIO_ERRNO_START
#define PJMEDIA_AUDIODEV_PORTAUDIO_ERRNO_START (PJMEDIA_AUDIODEV_ERRNO_END-10000) |
Mapping from PortAudio error codes to pjmedia error space.
◆ PJMEDIA_AUDIODEV_ERRNO_FROM_PORTAUDIO
Convert PortAudio error code to PJLIB error code. PortAudio error code range: 0 >= err >= -10000
◆ PJMEDIA_AUDIODEV_WMME_IN_ERROR_START
Mapping from Windows multimedia WaveIn error codes.
◆ PJMEDIA_AUDIODEV_ERRNO_FROM_WMME_IN
Convert WaveIn operation error codes to PJLIB error space.
◆ PJMEDIA_AUDIODEV_WMME_OUT_ERROR_START
#define PJMEDIA_AUDIODEV_WMME_OUT_ERROR_START (PJMEDIA_AUDIODEV_WMME_IN_ERROR_END + 1000) |
Mapping from Windows multimedia WaveOut error codes.
◆ PJMEDIA_AUDIODEV_ERRNO_FROM_WMME_OUT
Convert WaveOut operation error codes to PJLIB error space.
◆ PJMEDIA_AUDIODEV_COREAUDIO_ERRNO_START
Mapping from CoreAudio error codes to pjmedia error space.
◆ PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO
Convert CoreAudio error code to PJLIB error code. CoreAudio error code range: 0 >= err >= -10000
◆ PJMEDIA_AUDIODEV_BDIMAD_ERROR_START
Mapping from BDIMAD error codes to pjmedia error space.
◆ PJMEDIA_AUDIODEV_ERRNO_FROM_BDIMAD
Convert BDIMAD error codes to PJLIB error space.
◆ PJMEDIA_EAUD_ERR
◆ PJMEDIA_EAUD_SYSERR
#define PJMEDIA_EAUD_SYSERR |
Unknown error from audio driver
◆ PJMEDIA_EAUD_INIT
#define PJMEDIA_EAUD_INIT |
Audio subsystem not initialized
◆ PJMEDIA_EAUD_INVDEV
#define PJMEDIA_EAUD_INVDEV |
◆ PJMEDIA_EAUD_NODEV
#define PJMEDIA_EAUD_NODEV |
◆ PJMEDIA_EAUD_NODEFDEV
#define PJMEDIA_EAUD_NODEFDEV |
Unable to find default device
◆ PJMEDIA_EAUD_NOTREADY
#define PJMEDIA_EAUD_NOTREADY |
◆ PJMEDIA_EAUD_INVCAP
#define PJMEDIA_EAUD_INVCAP |
The audio capability is invalid or not supported
◆ PJMEDIA_EAUD_INVOP
#define PJMEDIA_EAUD_INVOP |
The operation is invalid or not supported
◆ PJMEDIA_EAUD_BADFORMAT
#define PJMEDIA_EAUD_BADFORMAT |
Bad or invalid audio device format
◆ PJMEDIA_EAUD_SAMPFORMAT
#define PJMEDIA_EAUD_SAMPFORMAT |
Invalid audio device sample format
◆ PJMEDIA_EAUD_BADLATENCY
#define PJMEDIA_EAUD_BADLATENCY |
◆ PJMEDIA_EAUD_WASAPI_ERROR
#define PJMEDIA_EAUD_WASAPI_ERROR |
◆ PJMEDIA_VIDEODEV_ERRNO_START
Start of error code relative to PJ_ERRNO_START_USER. This value is 520000.
◆ PJMEDIA_EVID_ERR
◆ PJMEDIA_EVID_SYSERR
#define PJMEDIA_EVID_SYSERR |
Unknown error from video driver
◆ PJMEDIA_EVID_INIT
#define PJMEDIA_EVID_INIT |
Video subsystem not initialized
◆ PJMEDIA_EVID_INVDEV
#define PJMEDIA_EVID_INVDEV |
◆ PJMEDIA_EVID_NODEV
#define PJMEDIA_EVID_NODEV |
◆ PJMEDIA_EVID_NODEFDEV
#define PJMEDIA_EVID_NODEFDEV |
Unable to find default device
◆ PJMEDIA_EVID_NOTREADY
#define PJMEDIA_EVID_NOTREADY |
◆ PJMEDIA_EVID_INVCAP
#define PJMEDIA_EVID_INVCAP |
The video capability is invalid or not supported
◆ PJMEDIA_EVID_INVOP
#define PJMEDIA_EVID_INVOP |
The operation is invalid or not supported
◆ PJMEDIA_EVID_BADFORMAT
#define PJMEDIA_EVID_BADFORMAT |
Bad or invalid video device format
◆ PJMEDIA_EVID_SAMPFORMAT
#define PJMEDIA_EVID_SAMPFORMAT |
Invalid video device sample format
◆ PJMEDIA_EVID_BADLATENCY
#define PJMEDIA_EVID_BADLATENCY |
◆ PJMEDIA_EVID_BADSIZE
#define PJMEDIA_EVID_BADSIZE |
Bad/unsupported video size
◆ pjmedia_audiodev_strerror()
Get error message for the specified error code. Note that this function is only able to decode PJMEDIA Audiodev specific error code. Application should use pj_strerror(), which should be able to decode all error codes belonging to all subsystems (e.g. pjlib, pjmedia, pjsip, etc).
- Parameters
-
status | The error code. |
buffer | The buffer where to put the error message. |
bufsize | Size of the buffer. |
- Returns
- The error message as NULL terminated string, wrapped with pj_str_t.
References PJ_END_DECL.
◆ pjmedia_videodev_strerror()
Get error message for the specified error code. Note that this function is only able to decode PJMEDIA Videodev specific error code. Application should use pj_strerror(), which should be able to decode all error codes belonging to all subsystems (e.g. pjlib, pjmedia, pjsip, etc).
- Parameters
-
status | The error code. |
buffer | The buffer where to put the error message. |
bufsize | Size of the buffer. |
- Returns
- The error message as NULL terminated string, wrapped with pj_str_t.
References PJ_END_DECL.