Interface MKAnalyticsData

interface MKAnalyticsData {
    availableAudioBitrates: number[];
    availableAudioTracks: string[];
    availableSubtitleTracks: string[];
    availableVideoBitrates: number[];
    currentAudioBitrate: number;
    currentAudioTrackLanguage: string;
    currentAudioTrackName: string;
    currentSubtitleTrack: string;
    currentVideoBitrate: number;
    drmSystem: string;
    droppedVideoFrames: number;
    masterManifestUrl: string;
    totalBytesTransferred: number;
    totalDurationWatched: number;
    totalTransferDuration: number;
    tuneDurationData: MKAnalyticsTuneDurationData;
    videoHeight: number;
    videoStalls: number;
    videoWidth: number;
    vsppSessionId: string;
}

Properties

availableAudioBitrates: number[]

An array of bitrates of the available Audio tracks. Default value is an empty array.

availableAudioTracks: string[]

An array of names of the available Audio tracks. Default value is an empty array.

availableSubtitleTracks: string[]

An array of names of the available subtitle tracks. Default value is an empty array.

availableVideoBitrates: number[]

An array of bitrates of the available video tracks. Default value is an empty array.

currentAudioBitrate: number

The bitrate of the current Audio track. Default value is 0.

currentAudioTrackLanguage: string

The language of the current Audio track. Default value is an empty string.

currentAudioTrackName: string

The name of the current Audio track. Default value is an empty string.

currentSubtitleTrack: string

The name of the current Subtitle track. Default value is an empty string.

currentVideoBitrate: number

The bitrate of the current video track. Default value is 0.

drmSystem: string

DRM type of the current encrypted playback, only known for registered sources. Default value is an empty string.

droppedVideoFrames: number

Number of dropped video frames since the start of the current playback session. Default value is 0.

masterManifestUrl: string

The Master manifest URL. Default value is an empty string.

totalBytesTransferred: number

Total bytes transferred since the start of the current playback session. Default value is 0.

totalDurationWatched: number

Total duration watched since the start of the current playback session. Default value is 0.

totalTransferDuration: number

Total transfer duration since the start of the current playback session. Default value is 0.

tuneDurationData: MKAnalyticsTuneDurationData

Tune duration data. It provides info on time taken by various steps while starting the playback, during the playback and while stopping the playback

videoHeight: number

The height of the current video track. Default value is 0.

videoStalls: number

Number of video stalls since the start of the current playback session. Default value is 0.

videoWidth: number

The width of the current video track. Default value is 0.

vsppSessionId: string

VSPP Session Id of the current playback of registered media. Default value is an empty string.