Vinyl
    Preparing search index...

    Interface DashTrackLoadOptions

    interface DashTrackLoadOptions {
        config?: Maybe<TrackBaseOptions>;
        manifestProvider?: Maybe<DashManifestProvider>;
        requestInit?: Maybe<Readonly<Omit<RequestInit, "signal">>>;
        segmentRequestInit?: Maybe<Readonly<Omit<RequestInit, "signal">>>;
        type: "dash";
        uri: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Configuration options for the DashTrack. Will be set before the track is activated.

    manifestProvider?: Maybe<DashManifestProvider>

    If set, will be used to resolve the dash manifest. Otherwise, the uri will be assumed to represent a URL to an MPD. The manifest provider is not expected to cache results.

    requestInit?: Maybe<Readonly<Omit<RequestInit, "signal">>>

    If a manifest provider is not set, the uri will be used to fetch a manifest. This can be set to provide Request initialization options such as headers or request method.

    segmentRequestInit?: Maybe<Readonly<Omit<RequestInit, "signal">>>

    Request initialization options for segment requests, such as headers. Range headers set by the player for byte-range requests will not be overridden.

    type: "dash"

    The track type, used to map to a track factory.

    uri: string

    The track identifier.