Interface IMediaQualityData
interface IMediaQualityData
Extends com.amazon.apmf.IStandard
Payload carried by playback quality events (frame_drop,
frame_freeze, audio_gap) emitted with EventSource::HTML_MEDIA_ELEMENT.
Whether the event is video-side or audio-side is determined by the
event name passed to onEvent.
Methods
getPtsMs()
i64 getPtsMs()
Gets the presentation timestamp associated with the event, in milliseconds.
Returns
i64
the PTS in milliseconds.
getDurationMs()
i64 getDurationMs()
Gets the duration associated with the event, in milliseconds.
Returns
i64
the duration in milliseconds.
getOrigin()
string? getOrigin()
Gets the origin identifying the producer of
the event.
Returns
string?
The return value is optional and might be absent.
the origin string (e.g. “gfx”,
“decoder”, “audiosink”), or NULL
if not set.

