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
  • 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
  • Failed to download playlist.

    Declaration

    Objective-C

    BMPSourceErrorCodeManifestDownloadFailed = 2202

    Swift

    case manifestDownloadFailed = 2202