Bitmovin Player API 8.274.0
    Preparing search index...

    Interface AudioChangedEvent

    Events which can be triggered by API calls, UI interactions, or player internals. The issuer identifies the origin of the action that triggered the event.

    interface AudioChangedEvent {
        issuer?: string;
        sourceAudio: AudioTrack;
        targetAudio: AudioTrack;
        time: number;
        timestamp: number;
        type: PlayerEvent;
    }

    Hierarchy (View Summary)

    Index
    issuer?: string

    The issuer of this event, as passed into the according API method. 'api' by default if no issuer was specified.

    sourceAudio: AudioTrack

    Previous audio track or null if no audio track was enabled before

    targetAudio: AudioTrack

    New audio track

    time: number

    Current playback time (in seconds)

    timestamp: number

    The time at which this event was fired

    Event type, e.g. 'play'