Skip to content

🎥 Make videos programmatically with React

not needed

Jonny Burgerb802fa8190c2
diff --git a/packages/webcodecs/src/extract-frames.ts b/packages/webcodecs/src/extract-frames.ts
index 1f5985e5da..f031b77658 100644
--- a/packages/webcodecs/src/extract-frames.ts
+++ b/packages/webcodecs/src/extract-frames.ts
@@ -16,7 +16,7 @@ import {withResolvers} from './create/with-resolvers';
export type ExtractFramesTimestampsInSecondsFn = (options: {
track: MediaParserVideoTrack;
- container: MediaParserContainer
+ container: MediaParserContainer;
durationInSeconds: number | null;
}) => Promise<number[]> | number[];
@@ -55,9 +55,6 @@ const internalExtractFrames = ({
acknowledgeRemotionLicense,
controller,
logLevel,
- fields: {
- container: true
- },
onDurationInSeconds(durationInSeconds) {
dur = durationInSeconds;
},