mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-01 04:43:51 +02:00
Yapperino
This commit is contained in:
+1
-1
@@ -809,7 +809,7 @@ export class Conversion {
|
||||
});
|
||||
|
||||
const sink = new AudioSampleSink(track);
|
||||
const iterator = sink.samples(this._startTimestamp, this._endTimestamp); // Todo make sure timestamps work
|
||||
const iterator = sink.samples(this._startTimestamp, this._endTimestamp);
|
||||
|
||||
for await (const sample of iterator) {
|
||||
if (this._synchronizer.shouldWait(track.id, sample.timestamp)) {
|
||||
|
||||
@@ -458,9 +458,9 @@ const TRACK_TYPE_TO_COMPONENT_SUBTYPE: Record<IsobmffTrackData['type'], string>
|
||||
};
|
||||
|
||||
const TRACK_TYPE_TO_HANDLER_NAME: Record<IsobmffTrackData['type'], string> = {
|
||||
video: 'VideoHandler',
|
||||
audio: 'SoundHandler',
|
||||
subtitle: 'TextHandler',
|
||||
video: 'MediabunnyVideoHandler',
|
||||
audio: 'MediabunnySoundHandler',
|
||||
subtitle: 'MediabunnyTextHandler',
|
||||
};
|
||||
|
||||
/** Handler Reference Box: Specifies the media handler component that is to be used to interpret the media's data. */
|
||||
|
||||
@@ -53,7 +53,7 @@ import { parseOpusIdentificationHeader } from '../codec-data';
|
||||
|
||||
const MIN_CLUSTER_TIMESTAMP_MS = -(2 ** 15);
|
||||
const MAX_CLUSTER_TIMESTAMP_MS = 2 ** 15 - 1;
|
||||
const APP_NAME = 'https://github.com/Vanilagy/webm-muxer'; // TODO
|
||||
const APP_NAME = 'https://github.com/Vanilagy/mediabunny';
|
||||
const SEGMENT_SIZE_BYTES = 6;
|
||||
const CLUSTER_SIZE_BYTES = 5;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user