mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-09 16:53:47 +02:00
No metadata for now
This commit is contained in:
@@ -19,6 +19,7 @@
|
|||||||
* - For WAVE files, the metadata refers to the chunks within the RIFF INFO chunk.
|
* - For WAVE files, the metadata refers to the chunks within the RIFF INFO chunk.
|
||||||
* - For ADTS files, there is no metadata.
|
* - For ADTS files, there is no metadata.
|
||||||
* - For FLAC files, the metadata lives in Vorbis style in the Vorbis comment block.
|
* - For FLAC files, the metadata lives in Vorbis style in the Vorbis comment block.
|
||||||
|
* - For MPEG-TS files, metadata tags are currently not supported.
|
||||||
*
|
*
|
||||||
* @group Metadata tags
|
* @group Metadata tags
|
||||||
* @public
|
* @public
|
||||||
@@ -74,6 +75,7 @@ export type MetadataTags = {
|
|||||||
* - WAVE: The individual metadata chunks within the RIFF INFO chunk. Values are always ISO 8859-1 strings.
|
* - WAVE: The individual metadata chunks within the RIFF INFO chunk. Values are always ISO 8859-1 strings.
|
||||||
* - FLAC: The key-value string pairs from the vorbis metadata block (see RFC 9639, Section D.2.3).
|
* - FLAC: The key-value string pairs from the vorbis metadata block (see RFC 9639, Section D.2.3).
|
||||||
* Additionally, the `'vendor'` key refers to the vendor string within this header.
|
* Additionally, the `'vendor'` key refers to the vendor string within this header.
|
||||||
|
* - MPEG-TS: Not supported.
|
||||||
*/
|
*/
|
||||||
raw?: Record<string, string | Uint8Array | RichImageData | AttachedFile | null>;
|
raw?: Record<string, string | Uint8Array | RichImageData | AttachedFile | null>;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -353,7 +353,7 @@ export class MpegTsDemuxer extends Demuxer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async getMetadataTags(): Promise<MetadataTags> {
|
async getMetadataTags(): Promise<MetadataTags> {
|
||||||
return {}; // TODO
|
return {}; // Nothing for now
|
||||||
}
|
}
|
||||||
|
|
||||||
async computeDuration() {
|
async computeDuration() {
|
||||||
|
|||||||
Reference in New Issue
Block a user