PlayerErrorCodes

public enum PlayerErrorCodes : Int, Error, LocalizedError

Playback error codes.

  • Indicates that an Error has occurred while Loading the MediaSource.

    Declaration

    Swift

    case MEDIA_SOURCE_FAILURE = 0x0201
  • Indicates that Fetching of the Media Source from Network Timed-Out.

    Declaration

    Swift

    case MEDIA_SOURCE_TIMEOUT = 0x0202
  • Indicates that an Error has occurred while Provisioning Model Certificates on the specific Device.

    Declaration

    Swift

    case DRM_PROVISIONING_FAILURE = 0x0203
  • Indicates that Fetching of DRM Provisioning Data from Network Timed-Out.

    Declaration

    Swift

    case DRM_PROVISIONING_TIMEOUT = 0x0204
  • Indicates that an Error has occurred while Loading DRM Keys for a particular Content either from Network (or) from Persistent Storage.

    Declaration

    Swift

    case DRM_LICENSE_FAILURE = 0x0205
  • Indicates that Fetching of DRM Keys from Network Timed-Out.

    Declaration

    Swift

    case DRM_LICENSE_TIMEOUT = 0x0206
  • Indicates that Loaded DRM Keys are Expired.

    Declaration

    Swift

    case DRM_LICENSE_EXPIRED = 0x0207
  • Indicates that rendering of Media Failed.

    Declaration

    Swift

    case MEDIA_PLAYBACK_FAILURE = 0x0208
  • Indicates Player playback has stalled.

    Declaration

    Swift

    case MEDIA_PLAYBACK_STALE = 0x0209
  • Indicates that Playback was aborted by external sources because of Application specific Policy Restrictions.

    Declaration

    Swift

    case EXTERNAL_FAILURE = 0x020C
  • Indicates that playback failed due to a lost network connection on the device.

    Declaration

    Swift

    case NETWORK_CONNECTION_FAILURE = 0x020E
  • Network connection is active but the network endpoint cannot be accessed.

    Declaration

    Swift

    case NETWORK_END_POINT_UNREACHABLE = 0x020F
  • Indicates the playback is not allowed due to device security thread.

    Declaration

    Swift

    case PLAYBACK_NOT_ALLOWED_ON_INSECURE_DEVICE = 0x0211
  • Indicates the playback not supported on external display

    Declaration

    Swift

    case PLAYBACK_NOT_SUPPORTED_ON_EXTERNAL_DISPLAY = 0x0212
  • Indicates airplay receiver temporarily unavailable

    Declaration

    Swift

    case AIRPLAY_RECEIVER_TEMPORARILY_NOT_AVAILABLE = 0x0213
  • Indicates that a daemon has crashed.

    Declaration

    Swift

    case MEDIA_SERVICES_WERE_RESET = 0x0214
  • Indicates the prefetch key already requested.

    Declaration

    Swift

    case DRM_KEY_REDUNDANT_REQUEST = 0x0218
  • Indicate the license fetcher delegate not set.

    Declaration

    Swift

    case DRM_KEY_FETCH_INTERRUPTED = 0x0219
  • Indicates SharePlay activation has failed.

    Declaration

    Swift

    case SHARE_PLAY_ACTIVATION_FAILURE = 0x021A
  • Indicates the request for a persistable content key (offline/download license) has failed.

    Declaration

    Swift

    case DRM_PERSISTENT_KEY_REQUEST_FAILURE = 0x021C