RDK Documentation (Open Sourced RDK Components)
AampEvent.h File Reference

Events supported by the AAMP player. More...

#include "vttCue.h"
#include <memory>
#include <vector>
Include dependency graph for AampEvent.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  AAMPEvent
 Structure of the AAMP events. Recommend new AAMP integration layers to use AAMPEventObject based listener For new event definition, should use AAMPEventObject class TODO: Deperecate in future, kept for backward compatibility only. More...
 
class  AAMPEventObject
 Base class of all AAMP events. New AAMP event object for ease of use While defining new event objects inherit from this base class. More...
 
class  MediaErrorEvent
 Class for the Media Error event. More...
 
class  SpeedChangedEvent
 Class for the Speed changed event. More...
 
class  ProgressEvent
 Class for the Progress event. More...
 
class  CCHandleEvent
 Class for the Closed Caption Handle event. More...
 
class  MediaMetadataEvent
 Class for the Media Metadata event. More...
 
class  BitrateChangeEvent
 Class for the Bitrate change event. More...
 
class  TimedMetadataEvent
 Class for the Timed Metadata event. More...
 
class  BulkTimedMetadataEvent
 Class for the Bulk TimedMetadata Event. More...
 
class  StateChangedEvent
 Class for the Player State Changed event. More...
 
class  SupportedSpeedsChangedEvent
 Class for the supported speeds changed event. More...
 
class  SeekedEvent
 Class for the Seeked Event. More...
 
class  TuneProfilingEvent
 Class for the Tune Profilng Event. More...
 
class  BufferingChangedEvent
 Class for the Buffering Changed event. More...
 
class  DrmMetaDataEvent
 Class for the Drm Metadata event. More...
 
class  AnomalyReportEvent
 Class for the Anomaly Report Event. More...
 
class  WebVttCueEvent
 Class for the Web VTT Cue Event. More...
 
class  AdResolvedEvent
 Class for ad fulfill status event. More...
 
class  AdReservationEvent
 Class for ad reservation events. More...
 
class  AdPlacementEvent
 Class for ad placement events. More...
 
class  MetricsDataEvent
 Class for the Metrics Data event. More...
 
class  ID3MetadataEvent
 Class for the ID3 Metadata Event. More...
 
class  DrmMessageEvent
 Class for the DRM Message Event. More...
 
class  BlockedEvent
 Class for the BlockedEvent event. More...
 
class  ContentGapEvent
 Class for the Content gap event. More...
 
class  HTTPResponseHeaderEvent
 Class for the HTTP Response Header event. More...
 
class  WatermarkSessionUpdateEvent
 Class for the watermarkSession event. More...
 
class  ContentProtectionDataEvent
 Class for the Content Protection Data Update Event on Dynamic Key Rotation. More...
 
union  AAMPEvent.data
 
struct  AAMPEvent.data.anomalyReport
 
struct  AAMPEvent.data.tuneProfile
 
struct  AAMPEvent.data.metricsData
 
struct  AAMPEvent.data.progress
 Structure of the progress event data. More...
 
struct  AAMPEvent.data.seeked
 Structure of the seeked event data. More...
 
struct  AAMPEvent.data.speedChanged
 Structure of the speed change event. More...
 
struct  AAMPEvent.data.bitrateChanged
 Structure of the bitrate change event. More...
 
struct  AAMPEvent.data.ccHandle
 Structure of the closed caption handle event. More...
 
struct  AAMPEvent.data.jsEvent
 Structure of the Java Script event. More...
 
struct  AAMPEvent.data.mediaError
 Structure of the media error event. More...
 
struct  AAMPEvent.data.stateChanged
 Structure of the player state changed event. More...
 
struct  AAMPEvent.data.bufferingChanged
 Structure of the buffering changed event. More...
 
struct  AAMPEvent.data.speedsChanged
 Structure of the supported speeds changed event. More...
 
struct  AAMPEvent.data.cue
 Structure of the WebVTT cue data. More...
 
struct  AAMPEvent.data.adResolved
 Structure for ad fulfill status event. More...
 
struct  AAMPEvent.data.adReservation
 Structure for ad reservation events. More...
 
struct  AAMPEvent.data.adPlacement
 Structure for ad placement events. More...
 
struct  AAMPEvent.data.drmMessage
 
struct  AAMPEvent.data.contentGap
 
struct  AAMPEvent.data.httpResponseHeader
 Structure of the http response header event. More...
 
struct  AAMPEvent.data.contentProtectionData
 Structure of the content protection data update event. More...
 

Macros

#define MAX_LANGUAGE_COUNT   16
 
#define MAX_LANGUAGE_TAG_LENGTH   42
 
#define MAX_BITRATE_COUNT   10
 
#define MAX_SUPPORTED_SPEED_COUNT   12 /* [-64, -32, -16, -4, -1, 0, 0.5, 1, 4, 16, 32, 64] */
 

Typedefs

typedef enum E_MetricsDataType MetricsDataType
 
using AAMPEventPtr = std::shared_ptr< AAMPEventObject >
 
using MediaErrorEventPtr = std::shared_ptr< MediaErrorEvent >
 
using SpeedChangedEventPtr = std::shared_ptr< SpeedChangedEvent >
 
using ProgressEventPtr = std::shared_ptr< ProgressEvent >
 
using CCHandleEventPtr = std::shared_ptr< CCHandleEvent >
 
using MediaMetadataEventPtr = std::shared_ptr< MediaMetadataEvent >
 
using BitrateChangeEventPtr = std::shared_ptr< BitrateChangeEvent >
 
using TimedMetadataEventPtr = std::shared_ptr< TimedMetadataEvent >
 
using BulkTimedMetadataEventPtr = std::shared_ptr< BulkTimedMetadataEvent >
 
using StateChangedEventPtr = std::shared_ptr< StateChangedEvent >
 
using SupportedSpeedsChangedEventPtr = std::shared_ptr< SupportedSpeedsChangedEvent >
 
using SeekedEventPtr = std::shared_ptr< SeekedEvent >
 
using TuneProfilingEventPtr = std::shared_ptr< TuneProfilingEvent >
 
using BufferingChangedEventPtr = std::shared_ptr< BufferingChangedEvent >
 
using DrmMetaDataEventPtr = std::shared_ptr< DrmMetaDataEvent >
 
using AnomalyReportEventPtr = std::shared_ptr< AnomalyReportEvent >
 
using WebVttCueEventPtr = std::shared_ptr< WebVttCueEvent >
 
using AdResolvedEventPtr = std::shared_ptr< AdResolvedEvent >
 
using AdReservationEventPtr = std::shared_ptr< AdReservationEvent >
 
using AdPlacementEventPtr = std::shared_ptr< AdPlacementEvent >
 
using MetricsDataEventPtr = std::shared_ptr< MetricsDataEvent >
 
using ID3MetadataEventPtr = std::shared_ptr< ID3MetadataEvent >
 
using DrmMessageEventPtr = std::shared_ptr< DrmMessageEvent >
 
using BlockedEventPtr = std::shared_ptr< BlockedEvent >
 
using ContentGapEventPtr = std::shared_ptr< ContentGapEvent >
 
using HTTPResponseHeaderEventPtr = std::shared_ptr< HTTPResponseHeaderEvent >
 
using WatermarkSessionUpdateEventPtr = std::shared_ptr< WatermarkSessionUpdateEvent >
 
using ContentProtectionDataEventPtr = std::shared_ptr< ContentProtectionDataEvent >
 

Enumerations

enum  AAMPEventType
 Type of the events sending to the JSPP player. More...
 
enum  AAMPEventMode
 AAMP event modes. More...
 
enum  AAMPTuneFailure
 AAMP playback error codes. More...
 
enum  PrivAAMPState
 Mapping all required status codes based on JS player requirement. These requirements may be forced by psdk player.AAMP may not use all the statuses mentioned below: Mainly required states - idle, initializing, initialized, preparing, prepared, playing, paused, seek, complete and error. More...
 
enum  E_MetricsDataType
 
enum  VideoScanType
 VideoScanType - Progressive/Interlaced. More...
 

yes

Events supported by the AAMP player.

Definition in file AampEvent.h.


Data Structure Documentation

◆ AAMPEvent.data

union AAMPEvent.data

Definition at line 208 of file AampEvent.h.

Collaboration diagram for AAMPEvent.data:
Collaboration graph
Data Fields
data anomalyReport
data tuneProfile
data metricsData
data progress Structure of the progress event data.
data seeked Structure of the seeked event data.
data speedChanged Structure of the speed change event.
data bitrateChanged Structure of the bitrate change event.
data metadata Structure of the metadata event.
data ccHandle Structure of the closed caption handle event.
data timedMetadata Structure of the timed metadata event.
data bulktimedMetadata Structure of the bulk timed metadata event.
data jsEvent Structure of the Java Script event.
data mediaError Structure of the media error event.
data dash_drmmetadata
data stateChanged Structure of the player state changed event.
data bufferingChanged Structure of the buffering changed event.
data speedsChanged Structure of the supported speeds changed event.
data cue Structure of the WebVTT cue data.
data adResolved Structure for ad fulfill status event.
data adReservation Structure for ad reservation events.
data adPlacement Structure for ad placement events.
data id3Metadata Structure of the id3 metadata event.
data drmMessage
data contentGap
data httpResponseHeader Structure of the http response header event.
data contentProtectionData Structure of the content protection data update event.

◆ AAMPEvent.data.anomalyReport

struct AAMPEvent.data.anomalyReport

Definition at line 210 of file AampEvent.h.

Collaboration diagram for AAMPEvent.data.anomalyReport:
Collaboration graph
Data Fields
int severity

informative number indicates severity of msg, e.g Warning, Error, Trace etc

const char * msg

◆ AAMPEvent.data.tuneProfile

struct AAMPEvent.data.tuneProfile

Definition at line 216 of file AampEvent.h.

Collaboration diagram for AAMPEvent.data.tuneProfile:
Collaboration graph
Data Fields
const char * microData

micro event data for profiling

◆ AAMPEvent.data.metricsData

struct AAMPEvent.data.metricsData

Definition at line 221 of file AampEvent.h.

Collaboration diagram for AAMPEvent.data.metricsData:
Collaboration graph
Data Fields
MetricsDataType type

type of data , e.g AAMP_DATA_VIDEO_END for VideoEndEvent data

const char * metricUUID

unique session id passed during tune

const char * data

data for event

◆ AAMPEvent.data.progress

struct AAMPEvent.data.progress

Structure of the progress event data.

Definition at line 231 of file AampEvent.h.

Collaboration diagram for AAMPEvent.data.progress:
Collaboration graph
Data Fields
double durationMiliseconds

current size of time shift buffer

double positionMiliseconds

current play/pause position relative to tune time - starts at zero)

float playbackSpeed

current trick speed (1.0 for normal play rate)

double startMiliseconds

time shift buffer start position (relative to tune time - starts at zero)

double endMiliseconds

time shift buffer end position (relative to tune time - starts at zero)

long long videoPTS

Video Presentation 90 Khz time-stamp

double videoBufferedMiliseconds

current duration of buffered video ready to playback

const char * timecode

SEI Timecode information

◆ AAMPEvent.data.seeked

struct AAMPEvent.data.seeked

Structure of the seeked event data.

Definition at line 246 of file AampEvent.h.

Collaboration diagram for AAMPEvent.data.seeked:
Collaboration graph
Data Fields
double positionMiliseconds

new seeked position in milliseconds

◆ AAMPEvent.data.speedChanged

struct AAMPEvent.data.speedChanged

Structure of the speed change event.

Definition at line 254 of file AampEvent.h.

Collaboration diagram for AAMPEvent.data.speedChanged:
Collaboration graph
Data Fields
float rate

Playback rate

◆ AAMPEvent.data.bitrateChanged

struct AAMPEvent.data.bitrateChanged

Structure of the bitrate change event.

Definition at line 262 of file AampEvent.h.

Collaboration diagram for AAMPEvent.data.bitrateChanged:
Collaboration graph
Data Fields
int time

Playback time

long bitrate

Playback bitrate

const char * description

Description

int width

Video width

int height

Video height

double framerate

FrameRate

double position

bitrate changed position

bool cappedProfile

profile capped status

int displayWidth

output display width

int displayHeight

output display height

VideoScanType videoScanType

video scan type

int aspectRatioWidth

aspect ratio width

int aspectRatioHeight

aspect ratio height

◆ AAMPEvent.data.metadata

struct AAMPEvent.data.metadata

Structure of the metadata event.

Definition at line 282 of file AampEvent.h.

Collaboration diagram for AAMPEvent.data.metadata:
Collaboration graph
Data Fields
long durationMiliseconds

Asset duration

int languageCount

Available language count

char languages[16][42]

Available languages

int bitrateCount

Available bitrate count

long bitrates[10]

Available bitrates

int width

Maximum video width

int height

Maximum video height

bool hasDrm

Drm enabled

int supportedSpeedCount

Supported playback speed count

float supportedSpeeds[12]

Supported playback speeds

double programStartTime

Program/Availability start time

◆ AAMPEvent.data.ccHandle

struct AAMPEvent.data.ccHandle

Structure of the closed caption handle event.

Definition at line 300 of file AampEvent.h.

Collaboration diagram for AAMPEvent.data.ccHandle:
Collaboration graph
Data Fields
unsigned long handle

Closed caption handle

◆ AAMPEvent.data.timedMetadata

struct AAMPEvent.data.timedMetadata

Structure of the timed metadata event.

Definition at line 308 of file AampEvent.h.

Collaboration diagram for AAMPEvent.data.timedMetadata:
Collaboration graph
Data Fields
const char * szName

Metadata name

const char * id

Id of the timedMetadata

long long timeMilliseconds

Playback position - relative to tune time - starts at zero

double durationMilliSeconds

Duration of the timed event.

const char * szContent

Metadata content

◆ AAMPEvent.data.bulktimedMetadata

struct AAMPEvent.data.bulktimedMetadata

Structure of the bulk timed metadata event.

Definition at line 320 of file AampEvent.h.

Collaboration diagram for AAMPEvent.data.bulktimedMetadata:
Collaboration graph
Data Fields
const char * szMetaContent

Metadata content

◆ AAMPEvent.data.jsEvent

struct AAMPEvent.data.jsEvent

Structure of the Java Script event.

Definition at line 328 of file AampEvent.h.

Collaboration diagram for AAMPEvent.data.jsEvent:
Collaboration graph
Data Fields
const char * szEventType

Event Type

void * jsObject

Pointer to the Java Scipt Object

◆ AAMPEvent.data.mediaError

struct AAMPEvent.data.mediaError

Structure of the media error event.

Definition at line 337 of file AampEvent.h.

Collaboration diagram for AAMPEvent.data.mediaError:
Collaboration graph
Data Fields
AAMPTuneFailure failure

Error Type

int code

Error code

const char * description

Error description

bool shouldRetry

If recovery on retry is possible

int32_t classCode

class Code

int32_t reasonCode

reason Code

int32_t businessStatus

business Status

◆ AAMPEvent.data.dash_drmmetadata

struct AAMPEvent.data.dash_drmmetadata

Definition at line 349 of file AampEvent.h.

Collaboration diagram for AAMPEvent.data.dash_drmmetadata:
Collaboration graph
Data Fields
AAMPTuneFailure failure

Error Type

const char * accessStatus
int accessStatus_value
long responseCode
bool isSecClientError

◆ AAMPEvent.data.stateChanged

struct AAMPEvent.data.stateChanged

Structure of the player state changed event.

Definition at line 361 of file AampEvent.h.

Collaboration diagram for AAMPEvent.data.stateChanged:
Collaboration graph
Data Fields
PrivAAMPState state

Player state

◆ AAMPEvent.data.bufferingChanged

struct AAMPEvent.data.bufferingChanged

Structure of the buffering changed event.

Definition at line 369 of file AampEvent.h.

Collaboration diagram for AAMPEvent.data.bufferingChanged:
Collaboration graph
Data Fields
bool buffering

true if buffering started, false otherwise

◆ AAMPEvent.data.speedsChanged

struct AAMPEvent.data.speedsChanged

Structure of the supported speeds changed event.

Definition at line 377 of file AampEvent.h.

Collaboration diagram for AAMPEvent.data.speedsChanged:
Collaboration graph
Data Fields
int supportedSpeedCount

Supported playback speed count

float supportedSpeeds[12]

Supported playback speeds

◆ AAMPEvent.data.cue

struct AAMPEvent.data.cue

Structure of the WebVTT cue data.

Definition at line 386 of file AampEvent.h.

Collaboration diagram for AAMPEvent.data.cue:
Collaboration graph
Data Fields
VTTCue * cueData

◆ AAMPEvent.data.adResolved

struct AAMPEvent.data.adResolved

Structure for ad fulfill status event.

Definition at line 394 of file AampEvent.h.

Collaboration diagram for AAMPEvent.data.adResolved:
Collaboration graph
Data Fields
bool resolveStatus
const char * adId
uint64_t startMS
uint64_t durationMs

◆ AAMPEvent.data.adReservation

struct AAMPEvent.data.adReservation

Structure for ad reservation events.

Definition at line 405 of file AampEvent.h.

Collaboration diagram for AAMPEvent.data.adReservation:
Collaboration graph
Data Fields
const char * adBreakId

Reservation Id

uint64_t position

◆ AAMPEvent.data.adPlacement

struct AAMPEvent.data.adPlacement

Structure for ad placement events.

Definition at line 414 of file AampEvent.h.

Collaboration diagram for AAMPEvent.data.adPlacement:
Collaboration graph
Data Fields
const char * adId

Placement Id

uint32_t position

Ad Position relative to Reservation Start

uint32_t offset

Ad start offset

uint32_t duration
int errorCode

◆ AAMPEvent.data.id3Metadata

struct AAMPEvent.data.id3Metadata

Structure of the id3 metadata event.

Definition at line 425 of file AampEvent.h.

Collaboration diagram for AAMPEvent.data.id3Metadata:
Collaboration graph
Data Fields
uint8_t * data

Data pointer to ID3 metadata blob

int32_t length

Length of the ID3 metadata blob

◆ AAMPEvent.data.drmMessage

struct AAMPEvent.data.drmMessage

Definition at line 431 of file AampEvent.h.

Collaboration diagram for AAMPEvent.data.drmMessage:
Collaboration graph
Data Fields
const char * data

◆ AAMPEvent.data.contentGap

struct AAMPEvent.data.contentGap

Definition at line 436 of file AampEvent.h.

Collaboration diagram for AAMPEvent.data.contentGap:
Collaboration graph
Data Fields
long long timeMilliseconds

Playback position - relative to tune time - starts at zero

double durationMilliSeconds

Duration of the gap

◆ AAMPEvent.data.httpResponseHeader

struct AAMPEvent.data.httpResponseHeader

Structure of the http response header event.

Definition at line 445 of file AampEvent.h.

Collaboration diagram for AAMPEvent.data.httpResponseHeader:
Collaboration graph
Data Fields
const char * header

HTTP header name

const char * response

HTTP response value

◆ AAMPEvent.data.contentProtectionData

struct AAMPEvent.data.contentProtectionData

Structure of the content protection data update event.

Definition at line 454 of file AampEvent.h.

Collaboration diagram for AAMPEvent.data.contentProtectionData:
Collaboration graph
Data Fields
uint8_t * keyID

Session KeyID

const char * streamType

Session StreamType

Enumeration Type Documentation

◆ AAMPEventType

Type of the events sending to the JSPP player.

Enumerator
AAMP_EVENT_ALL_EVENTS 

0, All Events

AAMP_EVENT_TUNED 

1, Tune success

AAMP_EVENT_TUNE_FAILED 

2, Tune failure

AAMP_EVENT_SPEED_CHANGED 

3, Speed changed internally

AAMP_EVENT_EOS 

4, End of stream

AAMP_EVENT_PLAYLIST_INDEXED 

5, Playlist downloaded and indexed

AAMP_EVENT_PROGRESS 

6, Progress event with playback stats. Report interval configurable

AAMP_EVENT_CC_HANDLE_RECEIVED 

7, Sent when video decoder handle retrieved

AAMP_EVENT_JS_EVENT 

8, Generic event generated by JavaScript binding

AAMP_EVENT_MEDIA_METADATA 

9, Meta-data of asset currently playing

AAMP_EVENT_ENTERING_LIVE 

10, Event when live point reached

AAMP_EVENT_BITRATE_CHANGED 

11, Event when bitrate changes

AAMP_EVENT_TIMED_METADATA 

12, Meta-data of a subscribed tag parsed from manifest

AAMP_EVENT_BULK_TIMED_METADATA 

13, Bulk Meta-data of a subscribed tag parsed from manifest

AAMP_EVENT_STATE_CHANGED 

14, Event when player state changes

AAMP_EVENT_SPEEDS_CHANGED 

15, Event when supported playback speeds changes

AAMP_EVENT_SEEKED 

16, Event when seek completes, including new position

AAMP_EVENT_TUNE_PROFILING 

17, Event when micro event data sends

AAMP_EVENT_BUFFERING_CHANGED 

18, Event when buffering starts/ends btw a playback

AAMP_EVENT_DURATION_CHANGED 

19, Event when duration changed

AAMP_EVENT_AUDIO_TRACKS_CHANGED 

20, Event when available audio tracks changes

AAMP_EVENT_TEXT_TRACKS_CHANGED 

21, Event when available test tracks changes

AAMP_EVENT_AD_BREAKS_CHANGED 

22, Event when content/ad breaks changes

AAMP_EVENT_AD_STARTED 

23, Ad playback started

AAMP_EVENT_AD_COMPLETED 

24, Ad playback completed

AAMP_EVENT_DRM_METADATA 

25, Event with DRM metadata info

AAMP_EVENT_REPORT_ANOMALY 

26, Playback Anomaly reporting

AAMP_EVENT_WEBVTT_CUE_DATA 

27, WebVTT Cue data

AAMP_EVENT_AD_RESOLVED 

28, Ad fulfill status

AAMP_EVENT_AD_RESERVATION_START 

29, Adbreak playback starts

AAMP_EVENT_AD_RESERVATION_END 

30, Adbreak playback ends

AAMP_EVENT_AD_PLACEMENT_START 

31, Ad playback starts

AAMP_EVENT_AD_PLACEMENT_END 

32, Ad playback ends

AAMP_EVENT_AD_PLACEMENT_ERROR 

33, Ad playback error

AAMP_EVENT_AD_PLACEMENT_PROGRESS 

34, Ad playback progress

AAMP_EVENT_REPORT_METRICS_DATA 

35, AAMP VideoEnd info reporting

AAMP_EVENT_ID3_METADATA 

36, ID3 metadata from audio stream

AAMP_EVENT_DRM_MESSAGE 

37, Message from the DRM system

AAMP_EVENT_BLOCKED 

38, ATSC AV BLOCKED Event

AAMP_EVENT_CONTENT_GAP 

39, Content gap event for progress gap reporting

AAMP_EVENT_HTTP_RESPONSE_HEADER 

40, Http response header data

AAMP_EVENT_WATERMARK_SESSION_UPDATE 

41, Update on Watermark Session

AAMP_EVENT_CONTENT_PROTECTION_DATA_UPDATE 

42, Update on Content Protection Data on Dynamic Key Rotation

Definition at line 44 of file AampEvent.h.

◆ AAMPEventMode

AAMP event modes.

Enumerator
AAMP_EVENT_DEFAULT_MODE 

Aamp Default event mode

AAMP_EVENT_SYNC_MODE 

Events handled in sync mode

AAMP_EVENT_ASYNC_MODE 

Events handled in Async mode

Definition at line 97 of file AampEvent.h.

◆ AAMPTuneFailure

AAMP playback error codes.

Enumerator
AAMP_TUNE_INIT_FAILED 

Tune failure due to initialization error

AAMP_TUNE_INIT_FAILED_MANIFEST_DNLD_ERROR 

Tune failure due to manifest download error

AAMP_TUNE_INIT_FAILED_MANIFEST_CONTENT_ERROR 

Tune failure due to manifest content error

AAMP_TUNE_INIT_FAILED_MANIFEST_PARSE_ERROR 

Tune failure due to manifest parse error

AAMP_TUNE_INIT_FAILED_PLAYLIST_VIDEO_DNLD_ERROR 

Tune failure due to video playlist download error

AAMP_TUNE_INIT_FAILED_PLAYLIST_AUDIO_DNLD_ERROR 

Tune failure due to audio playlist download error

AAMP_TUNE_INIT_FAILED_TRACK_SYNC_ERROR 

Tune failure due to A/V track sync error

AAMP_TUNE_MANIFEST_REQ_FAILED 

Tune failure caused by manifest fetch failure

AAMP_TUNE_AUTHORISATION_FAILURE 

Not authorised to view the content

AAMP_TUNE_FRAGMENT_DOWNLOAD_FAILURE 

When fragment download fails for 5 consecutive fragments

AAMP_TUNE_INIT_FRAGMENT_DOWNLOAD_FAILURE 

Unable to download init fragment

AAMP_TUNE_UNTRACKED_DRM_ERROR 

DRM error

AAMP_TUNE_DRM_INIT_FAILED 

DRM initialization failure

AAMP_TUNE_DRM_DATA_BIND_FAILED 

InitData binding with DRM failed

AAMP_TUNE_DRM_SESSIONID_EMPTY 

DRM session ID empty

AAMP_TUNE_DRM_CHALLENGE_FAILED 

DRM key request challenge generation failed

AAMP_TUNE_LICENCE_TIMEOUT 

DRM license request timeout

AAMP_TUNE_LICENCE_REQUEST_FAILED 

DRM license got invalid response

AAMP_TUNE_INVALID_DRM_KEY 

DRM reporting invalid license key

AAMP_TUNE_UNSUPPORTED_STREAM_TYPE 

Unsupported stream type

AAMP_TUNE_UNSUPPORTED_AUDIO_TYPE 

Unsupported audio type in manifest

AAMP_TUNE_FAILED_TO_GET_KEYID 

Failed to parse key id from init data

AAMP_TUNE_FAILED_TO_GET_ACCESS_TOKEN 

Failed to get session token from AuthService

AAMP_TUNE_CORRUPT_DRM_DATA 

DRM failure due to corrupt drm data, self heal might clear further errors

AAMP_TUNE_CORRUPT_DRM_METADATA 

DRM failure due to corrupt drm metadata in the stream

AAMP_TUNE_DRM_DECRYPT_FAILED 

DRM Decryption Failed for Fragments

AAMP_TUNE_DRM_UNSUPPORTED 

DRM Format Unsupported

AAMP_TUNE_DRM_SELF_ABORT 

Download activity is aborted by player

AAMP_TUNE_GST_PIPELINE_ERROR 

Playback failure due to error from GStreamer pipeline or associated plugins

AAMP_TUNE_PLAYBACK_STALLED 

Playback was stalled due to valid fragments not available in playlist

AAMP_TUNE_CONTENT_NOT_FOUND 

The resource was not found at the URL provided (HTTP 404)

AAMP_TUNE_DRM_KEY_UPDATE_FAILED 

Failed to process DRM key, see the error code returned from Update() for more info

AAMP_TUNE_DEVICE_NOT_PROVISIONED 

STB not provisioned/corrupted; need to re-provision.

AAMP_TUNE_HDCP_COMPLIANCE_ERROR 

HDCP Compliance Check failure.Not compatible hdcp version for playback

AAMP_TUNE_INVALID_MANIFEST_FAILURE 

Manifest is invalid

AAMP_TUNE_FAILED_PTS_ERROR 

Playback failed due to PTS error

AAMP_TUNE_MP4_INIT_FRAGMENT_MISSING 

Init fragments missing in playlist

AAMP_TUNE_FAILURE_UNKNOWN 

Unknown failure

Definition at line 108 of file AampEvent.h.

◆ PrivAAMPState

Mapping all required status codes based on JS player requirement. These requirements may be forced by psdk player.AAMP may not use all the statuses mentioned below: Mainly required states - idle, initializing, initialized, preparing, prepared, playing, paused, seek, complete and error.

Enumerator
eSTATE_IDLE 

0 - Player is idle

eSTATE_INITIALIZING 

1 - Player is initializing a particular content

eSTATE_INITIALIZED 

2 - Player has initialized for a content successfully

eSTATE_PREPARING 

3 - Player is loading all associated resources

eSTATE_PREPARED 

4 - Player has loaded all associated resources successfully

eSTATE_BUFFERING 

5 - Player is in buffering state

eSTATE_PAUSED 

6 - Playback is paused

eSTATE_SEEKING 

7 - Seek is in progress

eSTATE_PLAYING 

8 - Playback is in progress

eSTATE_STOPPING 

9 - Player is stopping the playback

eSTATE_STOPPED 

10 - Player has stopped playback successfully

eSTATE_COMPLETE 

11 - Playback completed

eSTATE_ERROR 

12 - Error encountered and playback stopped

eSTATE_RELEASED 

13 - Player has released all resources for playback

eSTATE_BLOCKED 

14 - Player has blocked and cant play content

Definition at line 156 of file AampEvent.h.

◆ VideoScanType

VideoScanType - Progressive/Interlaced.

Video Scan Type

Enumerator
eVIDEOSCAN_PROGRESSIVE 

Progressive Video

eVIDEOSCAN_INTERLACED 

Interlaced Video

eVIDEOSCAN_UNKNOWN 

Unknown Video

Definition at line 190 of file AampEvent.h.