Bitmovin Player API 8.268.0
    Preparing search index...

    Interface SegmentPlaybackEvent

    interface SegmentPlaybackEvent {
        dateTime?: string;
        discontinuitySequenceNumber?: number;
        duration: number;
        EXPERIMENTAL?: { hlsAttributes?: string[] };
        mediaInfo: {
            bitrate?: number;
            frameRate?: number;
            height?: number;
            sampleRate?: number;
            width?: number;
        };
        mimeType: string;
        periodId?: string;
        playbackTime: number;
        presentationTimestamp: number;
        representationId: string;
        timestamp: number;
        type: PlayerEvent;
        uid: string;
        url: string;
        wallClockTime: number;
    }

    Hierarchy (View Summary)

    Index
    dateTime?: string

    optional time string, based on the #EXT-X-PROGRAM-DATE-TIME HLS tag.

    discontinuitySequenceNumber?: number

    optional number based on #EXT-X-DISCONTINUITY-SEQUENCE and #EXT-X-DISCONTINUITY HLS tags

    duration: number

    segment duration

    EXPERIMENTAL?: { hlsAttributes?: string[] }

    optional experimental data

    Type Declaration

    • OptionalhlsAttributes?: string[]

      A list of all custom HLS tags that are associated to this segment. Global custom HLS tags are associated to the first segment. Custom tags in master playlists are not parsed.

    mediaInfo: {
        bitrate?: number;
        frameRate?: number;
        height?: number;
        sampleRate?: number;
        width?: number;
    }

    coding parameters

    mimeType: string

    media mime type

    periodId?: string

    optional period ID, as defined in the DASH manifest

    playbackTime: number

    Playback time of the segment in seconds

    presentationTimestamp: number

    Playback time encoded in the segment

    representationId: string

    ID of the representation this segment belongs to

    timestamp: number

    The time at which this event was fired

    Event type, e.g. 'play'

    uid: string

    segment Unique ID

    url: string

    segment URL

    wallClockTime: number

    UTC wall-clock time in milliseconds for the segment's presentation in case of a live stream.