igpapi — Instagram private API Simulator for Node.js (API reference) 4.14.0
    Preparing search index...

    Interface ReelSongDownloadInputInternal

    interface ReelSongDownloadInput {
        endMs: number;
        listenMs?: number;
        phase: "picked" | "previewing";
        startMs: number;
        track: {
            alacorn_session_id: string;
            audio_asset_id: string;
            audio_cluster_id: string;
            browse_session_id: string;
            dash_manifest: string;
            display_artist: string;
            duration_in_ms: number;
            title: string;
        };
    }
    Index

    Properties

    endMs: number

    The end of the song the clip needs: the start and the clip's length.

    listenMs?: number

    How long the person listens, for a preview (previewing): the player stops fetching when the playback has run this long, and the call takes that long (the person's time, which the caller states). Absent, the download runs to the end of the part the clip needs.

    phase: "picked" | "previewing"

    Whether the person is still listening to find the song (previewing: the player is named after the track's cluster, and its first fragment is fetched before it seeks to the start) or has picked it (the player is named after the asset and seeks straight to the start).

    startMs: number

    Where the clip starts in the song (audio_asset_start_time_in_ms): the player plays from here.

    track: {
        alacorn_session_id: string;
        audio_asset_id: string;
        audio_cluster_id: string;
        browse_session_id: string;
        dash_manifest: string;
        display_artist: string;
        duration_in_ms: number;
        title: string;
    }