🎥 Make videos programmatically with React
fix
Jonny Burgerd090646e80b9
diff --git a/packages/media-parser/src/get-seeking-info.ts b/packages/media-parser/src/get-seeking-info.tsindex 5712279ede..b95c394956 100644--- a/packages/media-parser/src/get-seeking-info.ts+++ b/packages/media-parser/src/get-seeking-info.ts@@ -1,10 +1,7 @@import {getSeekingByteFromIsoBaseMedia} from './containers/iso-base-media/get-seeking-from-mp4';import {getSeekingInfoFromMp4} from './containers/iso-base-media/get-seeking-info-from-mp4';-import type {MediaParserController} from './controller/media-parser-controller';import type {LogLevel} from './log';-import type {ParseMediaSrc} from './options';import type {IsoBaseMediaStructure} from './parse-result';-import type {ReaderInterface} from './readers/reader';import type {SeekingInfo} from './seeking-info';import type {IsoBaseMediaState} from './state/iso-base-media/iso-state';import type {StructureState} from './state/structure';@@ -45,20 +42,12 @@ export const getSeekingByte = ({time,logLevel,currentPosition,- src,- contentLength,- controller,- readerInterface,isoState,}: {info: SeekingInfo;time: number;logLevel: LogLevel;currentPosition: number;- src: ParseMediaSrc;- contentLength: number;- controller: MediaParserController;- readerInterface: ReaderInterface;isoState: IsoBaseMediaState;}): Promise<SeekResolution> => {if (info.type === 'iso-base-media-seeking-info') {@@ -67,10 +56,6 @@ export const getSeekingByte = ({time,logLevel,currentPosition,- src,- contentLength,- controller,- readerInterface,isoState,});}diff --git a/packages/media-parser/src/work-on-seek-request.ts b/packages/media-parser/src/work-on-seek-request.tsindex ade1f73540..14c8d8626c 100644--- a/packages/media-parser/src/work-on-seek-request.ts+++ b/packages/media-parser/src/work-on-seek-request.ts@@ -20,10 +20,6 @@ const turnSeekIntoByte = async ({seek,videoSectionState,logLevel,- contentLength,- readerInterface,- src,- controller,iterator,structureState,mp4HeaderSegment,@@ -32,10 +28,6 @@ const turnSeekIntoByte = async ({seek: Seek;videoSectionState: VideoSectionState;logLevel: LogLevel;- contentLength: number;- src: ParseMediaSrc;- readerInterface: ReaderInterface;- controller: MediaParserController;iterator: BufferIterator;structureState: StructureState;mp4HeaderSegment: IsoBaseMediaStructure | null;@@ -68,10 +60,6 @@ const turnSeekIntoByte = async ({time: seek.time,logLevel,currentPosition: iterator.counter.getOffset(),- src,- contentLength,- controller,- readerInterface,isoState,});@@ -158,10 +146,6 @@ export const workOnSeekRequest = async (options: WorkOnSeekRequestOptions) => {seek,videoSectionState: videoSection,logLevel,- contentLength,- src,- readerInterface,- controller,iterator,structureState,mp4HeaderSegment,