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 = 2001

    Swift

    case general = 2001
  • Failed to start playing the source.

    Declaration

    Objective-C

    BMPSourceErrorCodePlaybackFailed = 2101

    Swift

    case playbackFailed = 2101
  • Downloading the playlist has failed, but no additional details are available.

    Declaration

    Objective-C

    BMPSourceErrorCodeManifestDownloadFailed = 2202

    Swift

    case manifestDownloadFailed = 2202
  • Downloading the playlist has failed due to an invalid manifest URL.

    Declaration

    Objective-C

    BMPSourceErrorCodeManifestUrlInvalid = 2205

    Swift

    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 = 2210

    Swift

    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 = 2220

    Swift

    case manifestClientError = 2220
  • Downloading the playlist has failed due to a bad request. Received HTTP status code 400 - Bad Request.

    Declaration

    Objective-C

    BMPSourceErrorCodeManifestBadRequest = 2221

    Swift

    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 = 2222

    Swift

    case manifestNotAuthorized = 2222
  • Downloading the playlist has failed due to insufficient permissions. Received HTTP status code 403 - Forbidden.

    Declaration

    Objective-C

    BMPSourceErrorCodeManifestNotAllowed = 2223

    Swift

    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 = 2224

    Swift

    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 = 2230

    Swift

    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 = 2231

    Swift

    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 = 2232

    Swift

    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 = 2233

    Swift

    case manifestServerUnavailable = 2233
  • Downloading the playlist has failed due to a gateway timeout. Received HTTP status code 504 - Gateway Timeout.

    Declaration

    Objective-C

    BMPSourceErrorCodeManifestServerGatewayTimeout = 2234

    Swift

    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 = 2301

    Swift

    case drmGeneral = 2301
  • The required DRM configuration is missing.

    Declaration

    Objective-C

    BMPSourceErrorCodeDrmConfigMissing = 2302

    Swift

    case drmConfigMissing = 2302
  • No DRM license URL provided.

    Declaration

    Objective-C

    BMPSourceErrorCodeNoDrmLicenseServerUrlProvided = 2303

    Swift

    case noDrmLicenseServerUrlProvided = 2303
  • No DRM license URL provided.

    Declaration

    Objective-C

    BMPSourceErrorCodeNoDrmCertificateServerUrlProvided = 2309

    Swift

    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 = 2306

    Swift

    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 = 2307

    Swift

    case drmCertificateRequestFailed = 2307