Bitmovin Player API 8.268.0
    Preparing search index...

    Interface ContentLocationChangedEvent

    interface ContentLocationChangedEvent {
        reason: ContentLocationChangedReason;
        sourceLocationId: string;
        targetLocationId: string;
        timestamp: number;
        type: PlayerEvent;
    }

    Hierarchy (View Summary)

    Index

    The reason for the content location change.

    sourceLocationId: string

    An ID that identifies the previous content location. It can be in the form of:

    • a Pathway ID or ServiceLocation ID if defined in the manifest
    • a URL or BaseURL of the previous CDN (in case of DASH streams)
    • the index of the redundant stream in the manifest that was used prior to the change (in case of HLS streams)
    targetLocationId: string

    An ID that identifies the new content location. It can be in the form of:

    • a Pathway ID or ServiceLocation ID if defined in the manifest
    • a URL or BaseURL of the new CDN (in case of DASH streams)
    • the index of the redundant stream in the manifest that was selected as target for the change (in case of HLS streams)
    timestamp: number

    The time at which this event was fired

    Event type, e.g. 'play'