UNPKG

mediabunny

Version:

Pure TypeScript media toolkit for reading, writing, and converting media files, directly in the browser.

31 lines 1.52 kB
/*! * Copyright (c) 2026-present, Vanilagy and contributors * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ export declare const HLS_MIME_TYPE = "application/vnd.apple.mpegurl"; export declare const TAG_STREAM_INF = "#EXT-X-STREAM-INF:"; export declare const TAG_I_FRAME_STREAM_INF = "#EXT-X-I-FRAME-STREAM-INF:"; export declare const TAG_MEDIA = "#EXT-X-MEDIA:"; export declare const TAG_EXTINF = "#EXTINF:"; export declare const TAG_MAP = "#EXT-X-MAP:"; export declare const TAG_KEY = "#EXT-X-KEY:"; export declare const TAG_MEDIA_SEQUENCE = "#EXT-X-MEDIA-SEQUENCE:"; export declare const TAG_BYTERANGE = "#EXT-X-BYTERANGE:"; export declare const TAG_PROGRAM_DATE_TIME = "#EXT-X-PROGRAM-DATE-TIME:"; export declare const TAG_DISCONTINUITY = "#EXT-X-DISCONTINUITY"; export declare const TAG_TARGETDURATION = "#EXT-X-TARGETDURATION:"; export declare const TAG_ENDLIST = "#EXT-X-ENDLIST"; export declare const TAG_PLAYLIST_TYPE = "#EXT-X-PLAYLIST-TYPE:"; export declare const TAG_I_FRAMES_ONLY = "#EXT-X-I-FRAMES-ONLY"; export declare const canIgnoreLine: (line: string) => boolean; export declare class AttributeList { _attributes: Record<string, string>; constructor(str: string); get(name: string): string | null; getAsNumber(name: string): number | null; merge(other: AttributeList): void; } //# sourceMappingURL=hls-misc.d.ts.map