Show Menu

NATIVE_ERROR: Video playback values

The Video Encoder interface of the AVE returns these video playback notifications in the NATIVE_ERROR metadata object.
Value for NATIVE_ERROR_CODE metadata key Value for NATIVE_ERROR_NAME metadata key Description
-1 END_OF_PERIOD End of period.
0 SUCCESS Operation successful.
1 ASYNC_OPERATION_IN_PROGRESS Asynchronous operation. The operation request has been made. Success/failure information will be available later.
2 EOF Operation not possible due to end of file (EOF) condition.
3 DECODER_FAILED The decoder failed at runtime.
4 DEVICE_OPEN_ERROR Failed to open hardware decoder.
5 FILE_NOT_FOUND Resource cannot be located.
6 GENERIC_ERROR Generic error.
7 IRRECOVERABLE_ERROR An error condition that the Video Engine cannot recover from.
8 LOST_CONNECTION_RECOVERABLE Network error, trying to recover.
9 NO_FIXED_SIZE The size of the resource cannot be determined.
10 NOT_IMPLEMENTED Feature not implemented.
11 OUT_OF_MEMORY Out of memory.
12 PARSE_ERROR Error while parsing the media file.
13 SIZE_UNKNOWN The resource has a size, but it is unknown.
14 UNDER_FLOW Underflow condition.
15 UNSUPPORTED_CONFIG Configuration is not supported.
16 UNSUPPORTED_OPERATION Operation is not supported.
17 WAITING_FOR_INIT Not yet initialized.
18 INVALID_PARAMETER Invalid parameter.
19 INVALID_OPERATION Operation not permitted.
20 OP_ONLY_ALLOWED_IN_PAUSED_STATE The operation is allowed only while paused.
21 OP_INVALID_WITH_AUDIO_ONLY_FILE Operation cannot be used on audio only files.
22 PREVIOUS_STEP_SEEK_IN_PROGRESS Previous seek operation is still in progress.
23 SOURCE_NOT_SPECIFIED Resource not specified.
24 RANGE_ERROR Specified value is out of range.
25 INVALID_SEEK_TIME Invalid seek time.
26 FILE_STRUCTURE_INVALID The file specified does not conform to the expected syntax.
27 COMPONENT_CREATION_FAILURE An essential component could not be created.
28 DRM_INIT_ERROR Failed to create DRM context.
29 CONTAINER_NOT_SUPPORTED Container type is not supported.
30 SEEK_FAILED Seek failed.
31 CODEC_NOT_SUPPORTED Unsupported codec.
32 NETWORK_UNAVAILABLE Network is not available.
33 NETWORK_ERROR Error getting data from the Network.
34 OVERFLOW Overflow.
35 VIDEO_PROFILE_NOT_SUPPORTED Unsupported video profile.
36 PERIOD_NOT_LOADED An operation was attempted on a HOLD period or a period that has not yet been loaded.
37 INVALID_REPLACE_DURATION The replace duration specified is invalid or extends past the end of the stream.
38 CALLED_FROM_WRONG_THREAD API can't be called from the wrong thread. Mostly, for API elements that should be called from Main thread only.
39 FRAGMENT_READ_ERROR Fragment read error. No failover present. Engine will try to read the next fragment.
40 ABORTED The operation was aborted by an explicit Abort or Destroy call.
41 UNSUPPORTED_HLS_VERSION Cannot play this version of HLS media.
42 CANNOT_FAIL_OVER Cannot fail over.
43 HTTP_TIME_OUT HTTP download has timed out.
44 NETWORK_DOWN The user's network connection is down. Playback could stop any moment and will resume when the connection is available.
45 NO_USABLE_BITRATE_PROFILE No usable bit rate profile found in the stream.
46 BAD_MANIFEST_SIGNATURE The manifest has a bad signature. It failed the manifest signing test.
47 CANNOT_LOAD_PLAYLIST Cannot load a playlist.
48 REPLACEMENT_FAILED Replacement specified in an Insert API could not succeed. This means that the insertion succeeded but replacement did not. Replacement could fail if the manifest to be replaced has been removed from the timeline.
49 SWITCH_TO_ASYMMETRIC_PROFILE DRM is switching to an asymmetric profile. All the profiles are expected to be aligned in duration. If not, this warning will be thrown, and there may be jumps in the playback.
50 LIVE_WINDOW_MOVED_BACKWARD Live window is expected to move forward only. If not, this warning will be thrown, and the window will not be read. Because of that, there may be jumps (or stop / long pause) in the playback.
51 CURRENT_PERIOD_EXPIRED Live window moved beyond the current period.
52 CONTENT_LENGTH_MISMATCH The content-length reported by the HTTP server did not match the actual media size.
53 PERIOD_HOLD The media reader is unable to read further because it has reached the time set by setHoldAt API.
54 LIVE_HOLD The media reader is unable to load segments because it has reached the end of the live window. Segment loading will resume when the server ads new media to the live window. This state is usually reached if:
  • The bufferTime is too high (equal to or higher than the live window duration).
  • A combination of one or more of insert/erase API replaced more media than it added.
  • The next period is a live period with a pending media replacement (due to InsertBy API call)
55 BAD_MEDIA_INTERLEAVING The audio and video interleaving in the media is not done properly. This is a packaging error. The warning is dispatched when the difference exceeds two seconds.
57 PLAYBACK_NOT_AUTHORIZED HLS playback has not been enabled in the Flash Player. See AuthorizedFeatures.enableHLSPlayback.
58 BAD_MEDIA_SAMPLE_FOUND The decoder received a bad sample that cannot be decoded. This is usually not a fatal error but indicates that there may be glitches in the audio/video. Too many instances of this error indicate a bad encoding or bad file.
59 RANGE_SPANS_READ_HEAD After playback has started, the Insert/Replace range should not contain the read head.
60 POSTROLL_WITH_LIVE_NOT_ALLOWED Post-roll insertions are not allowed on a live media. They are, however, allowed after the server marks the media as complete.
61 INTERNAL_ERROR A very rare issue that should never happen.
62 SPS_PPS_FOUND_OUTSIDE_AVCC The stream does not follow the packaging recommendation of always putting H264 SPS/PPS in an AVCC. Seek / playback issues might be seen.
63 PARTIAL_REPLACEMENT Replacement specified in an Insert API was only partially done. This happens when replaceDuration spans over the timeline duration.
64 RENDITION_M3U8_ERROR Rendition playlist had an error loading. This is only for AVE, not for FlashPlayer.
65 NULL_OPERATION Operation does not do anything.
66 SEGMENT_SKIPPED_ON_FAILURE Segment cannot be played and is skipped on failure.
67 INCOMPATIBLE_RENDER_MODE Incompatible render mode.
68 PROTOCOL_NOT_SUPPORTED The Web protocol used in the URL is not supported.
69 PARSE_ERROR_INCOMPATIBLE_VERSION Error while parsing media file.
70 MANIFEST_FILE_UNEXPECTEDLY_CHANGED Manifest file was changed in an unexpected manner.
71 CANNOT_SPLIT_TIMELINE Cannot perform a split operation on a timeline.
72 CANNOT_ERASE_TIMELINE Cannot perform an erase operation on a timeline.
73 DID_NOT_GET_NEXT_FRAGMENT Did not get the next fragment.
74 NO_TIMELINE No timeline present in an internal data structure.
75 LISTENER_NOT_FOUND No listener found in an internal data structure.
76 AUDIO_START_ERROR Unable to start audio.
77 NO_AUDIO_SINK No audio sink present in an internal data structure.
78 FILE_OPEN_ERROR Unable to open file.
79 FILE_WRITE_ERROR Unable to write to a file.
80 FILE_READ_ERROR Unable to read from a file.
81 ID3PARSE_ERROR There was an error parsing ID3 data.
82 SECURITY_ERROR Loading the content failed because of security restrictions.
83 TIMELINE_TOO_SHORT The timeline duration is too short. If this is a live stream, frequent buffering may happen.
84 AUDIO_ONLY_STREAM_START The stream has been switched to an audio-only stream.
85 AUDIO_ONLY_STREAM_END The stream has been switched from audio-only to a stream with video.
87 KEY_NOT_FOUND Key cannot be found.
88 INVALID_KEY The key is invalid.
89 KEY_SERVER_NOT_FOUND Key server does not return a key.
90 MAIN_MANIFEST_UPDATE_TO_BE_HANDLED Cannot handle main manifest update.
91 UNREPORTED_TIME_DISCONTINUITY_FOUND Unreported time (PTS) discontinuity found.
92 UNMATCHED_AV_DISCONTINUITY_FOUND Unmatched Audio and Video discontinuity found.
93 TRICKPLAY_ENDED_DUE_TO_ERROR There was an error while playing media in trick play mode. Trick play mode is ended and the stream is paused. Call Play() to play the media in normal mode.
95 LIVE_WINDOW_MOVED_AHEAD The player is out of the live window and must seek forward to catch up.