Skip to main content

ErrorCode

Enumeration Members

Enumeration MemberValueDescription
MediaDownloadingFailed1000Error raised when playback data download failed.
DrmKeyDownloadingFailed1001Error raised when a DRM key could not be fetched successfully. This is usually caused when offline licenses are loaded.
ConnectivityLost1003Error raised when downloading playback data and no network connectivity is available.
ConnectivityGained1004Error raised when the player lost connectivity (ConnectivityLost), once connectivity was re-gained.
DnsLookupFailed1006Error raised when DNS lookup fails.
TimeoutOccurred1007Error raised when a network timeout occurs.
TextUnsupported2001Error raised when all text tracks are filtered out as unsupported.
TextTrackAlreadyLoaded2003Error raised when the text track already initialized.
MediaError3001Error raised when the player reports a general playback error.
AudioTrackInitializationFailed3002Error raised when the audio track can not be initialized.
AudioDecoderInitializationFailed3003Error raised when the audio decoder can not be initialized.
AudioWriteError3004Error raised when writing to the audio buffer fails.
VideoDecoderInitialization3005Error raised when the video decoder can not be initialized.
AudioUnsupported3006Error raised when all audio tracks are filtered out as unsupported.
VideoUnsupported3007Error raised if all video tracks are filtered out as unsupported.
NoPlayableContent3008Error raised when the applied filters were not able to find any viable content that can be displayed on the current device.
ManifestLoadingFailed4001Error raised when loading the stream manifest fails.
ManifestParsingFailed4002Error raised when parsing the stream manifest fails.
ManifestInvalid4003Error raised when the player found a semantic issue with a manifest. This could be due to a change in between manifest updates deemed as illegal by the corresponding specification.
BehindLiveWindow5001Error raised when the current playback position is behind the live edge in a live stream.
StreamLoadingFailed5002Error raised when the player fails to load the stream, likely due to resource or initialization issues.
DrmError6001Error raised when fetching a DRM license fails. Note that this error usually occurs during license acquisition and before any decryption errors are reported by the decoder.
DrmProvisioningFailed6002Error raised when device provisioning fails.
DrmTodayError6003Error raised when an exception occurred while the player was communicating with DRMToday to fetch a license.
AudioDecryptionFailed6004Error raised when an error occurs while decrypting audio data.
VideoDecryptionFailed6005Error raised when an error occurs while decrypting video data.
DrmUnsupported6006Error raised when attempting to use a DRM system that is not supported by the device.
SecondaryDisplayForbidden6007Error raised when a secondary display is detected and the current configuration does not permit playback on that display.
KeyExpired6008Error raised if a DRM key expires during playback.
HdcpConnectionWarning6009Error raised after the player sees changes in HDCP connectivity.
CslLimitReached6010Error raised when concurrent stream limiting reaches maximum clients.
CslNetworkError6011Error raised when there's a network error with the concurrent stream limiting service.
PlayerError7001General player error.
NoRendererFound7005Error raised when no plugin was found that can be used to create a renderer to playback a given DRM and content combination.
InvalidConfiguration7013Error raised when the player configuration is invalid.
PlayerNotFound7014Error raised when the player instance can't be found for the given ID
CompleterNotFound7015Error raised when the request or response completer instance can't be found for the given ID
PlayerExtensionNotFound7016Error raised when a player extension is not found
PlayerExtensionAlreadyAdded7017Error raised when a player extension is already added
ThumbnailsContentInvalid9001Error raised when the thumbnails content is invalid.
ThumbnailsImageMissing9002Error raised when the thumbnails image is missing.
UserIdNotProvided9003Error raised when the userID is mandatory and has not been provided.
AirPlayConnectingFailed9020Error raised when the casting failed.
AdError10001Error raised when a general error occurs at initializing or during an Ad.
AdRequestUnsupported10002Error raised when trying to play Ads but the current Player setup doesn't support it.
StorageRemovingFailed11001Error raised when the file removal failed.
StorageReadingFailed11002Error raised when reading from storage failed.
StorageWritingFailed11003Error raised when writing to storage failed.
SdkInitializationFailed12001Error raised when the SDK could not be initialised successfully.
SdkNotInitialized12002Error raised when the SDK was not initialized before calling a method.
SdkInvalidLicence12003Error raised when the Castlabs player license is invalid or expired. Please contact support if you see this error unexpectedly. Note that if this error occurs, playback is prevented and the player will stop working.
PlatformApiMismatch12004Error raised if a method is called that is not supported on the current API level.
DownloadIdAlreadyInUse13001Error raised when the provided download ID is already in use.
DownloadNotFound13002Error raised when a download with the given ID cannot be found.
DownloadFailed13003Error raised when the download failed.