BMPSourceErrorCode
Objective-C
enum BMPSourceErrorCode : NSInteger {}
Swift
typealias SourceError.Code._ErrorType = SourceError
This enum represents the error codes that can be associated with SourceErrorEvent.
-
A general source error code when a more specific error code could not be determined.
Declaration
Objective-C
BMPSourceErrorCodeGeneral = 2001Swift
case general = 2001 -
Failed to start playing the source.
Declaration
Objective-C
BMPSourceErrorCodePlaybackFailed = 2101Swift
case playbackFailed = 2101 -
Downloading the playlist has failed, but no additional details are available.
Declaration
Objective-C
BMPSourceErrorCodeManifestDownloadFailed = 2202Swift
case manifestDownloadFailed = 2202 -
Downloading the playlist has failed due to an invalid manifest URL.
Declaration
Objective-C
BMPSourceErrorCodeManifestUrlInvalid = 2205Swift
case manifestUrlInvalid = 2205 -
Downloading the playlist has failed due to an unhandled HTTP redirect (3xx). The manifest request returned an 3xx HTTP status code which could not be handled.
Declaration
Objective-C
BMPSourceErrorCodeManifestUnhandledRedirect = 2210Swift
case manifestUnhandledRedirect = 2210 -
Downloading the playlist has failed due to a client-side HTTP error (4xx). The manifest request returned an 4xx HTTP status code which is not explicitly handled with a different error code.
Declaration
Objective-C
BMPSourceErrorCodeManifestClientError = 2220Swift
case manifestClientError = 2220 -
Downloading the playlist has failed due to a bad request. Received HTTP status code 400 - Bad Request.
Declaration
Objective-C
BMPSourceErrorCodeManifestBadRequest = 2221Swift
case manifestBadRequest = 2221 -
Downloading the playlist has failed due to missing or invalid authentication credentials. Received HTTP status code 401 - Unauthorized.
Declaration
Objective-C
BMPSourceErrorCodeManifestNotAuthorized = 2222Swift
case manifestNotAuthorized = 2222 -
Downloading the playlist has failed due to insufficient permissions. Received HTTP status code 403 - Forbidden.
Declaration
Objective-C
BMPSourceErrorCodeManifestNotAllowed = 2223Swift
case manifestNotAllowed = 2223 -
Downloading the playlist has failed because the requested manifest could not be found. Received HTTP status code 404 - Not Found.
Declaration
Objective-C
BMPSourceErrorCodeManifestNotFound = 2224Swift
case manifestNotFound = 2224 -
Downloading the playlist has failed due to a general server-side issue (5xx). The manifest request returned an 5xx HTTP status code which is not explicitly handled with a different error code.
Declaration
Objective-C
BMPSourceErrorCodeManifestGeneralServerError = 2230Swift
case manifestGeneralServerError = 2230 -
Downloading the playlist has failed due to an internal server error. Received HTTP status code 500 - Internal Server Error.
Declaration
Objective-C
BMPSourceErrorCodeManifestServerError = 2231Swift
case manifestServerError = 2231 -
Downloading the playlist has failed due to a bad gateway error. Received HTTP status code 502 - Bad Gateway.
Declaration
Objective-C
BMPSourceErrorCodeManifestServerGatewayError = 2232Swift
case manifestServerGatewayError = 2232 -
downloading the playlist has failed because the server is temporarily unavailable. Received HTTP status code 503 - Service Unavailable.
Declaration
Objective-C
BMPSourceErrorCodeManifestServerUnavailable = 2233Swift
case manifestServerUnavailable = 2233 -
Downloading the playlist has failed due to a gateway timeout. Received HTTP status code 504 - Gateway Timeout.
Declaration
Objective-C
BMPSourceErrorCodeManifestServerGatewayTimeout = 2234Swift
case manifestServerGatewayTimeout = 2234 -
A general error indicating that the current DRM session failed for some reason. The message of the according SourceErrorEvent provides more information.
Declaration
Objective-C
BMPSourceErrorCodeDrmGeneral = 2301Swift
case drmGeneral = 2301 -
The required DRM configuration is missing.
Declaration
Objective-C
BMPSourceErrorCodeDrmConfigMissing = 2302Swift
case drmConfigMissing = 2302 -
No DRM license URL provided.
Declaration
Objective-C
BMPSourceErrorCodeNoDrmLicenseServerUrlProvided = 2303Swift
case noDrmLicenseServerUrlProvided = 2303 -
No DRM license URL provided.
Declaration
Objective-C
BMPSourceErrorCodeNoDrmCertificateServerUrlProvided = 2309Swift
case noDrmCertificateServerUrlProvided = 2309 -
The response to the DRM license request failed with an invalid HTTP response code. The message of the according SourceErrorEvent provides more information.
Declaration
Objective-C
BMPSourceErrorCodeDrmLicenseRequestFailed = 2306Swift
case drmLicenseRequestFailed = 2306 -
The response to the DRM certificate request failed with an invalid HTTP response code. The message of the according SourceErrorEvent provides more information.
Declaration
Objective-C
BMPSourceErrorCodeDrmCertificateRequestFailed = 2307Swift
case drmCertificateRequestFailed = 2307
BMPSourceErrorCode Enumeration Reference