Skip to content

🎥 Make videos programmatically with React

slowStructure

Jonny Burgerf86d28ec0830
diff --git a/packages/docs/docs/media-parser/fast-and-slow.mdx b/packages/docs/docs/media-parser/fast-and-slow.mdx
index 222d4092f3..d9a70f9c52 100644
--- a/packages/docs/docs/media-parser/fast-and-slow.mdx
+++ b/packages/docs/docs/media-parser/fast-and-slow.mdx
@@ -21,7 +21,7 @@ Obviously, processing less of the file is faster and you should aim to read only
The following [`fields`](/docs/media-parser#fields) require the full file to be read:
-- [`structure`](/docs/media-parser/fields#structure)
+- [`slowStructure`](/docs/media-parser/fields#slowstructure)
- [`slowKeyframes`](/docs/media-parser/fields#slowkeyframes)
- [`slowFps`](/docs/media-parser/fields#slowfps)
- [`slowDurationInSeconds`](/docs/media-parser/fields#slowdurationinseconds)
@@ -29,9 +29,9 @@ The following [`fields`](/docs/media-parser#fields) require the full file to be
- [`slowAudioBitrate`](/docs/media-parser/fields#slowaudiobitrate)
- [`slowVideoBitrate`](/docs/media-parser/fields#slowvideobitrate)
-Also, if an [`onVideoTrack`](/docs/media-parser/parse-media#onvideotrack) or [`onAudioTrack`](/docs/media-parser/parse-media#onvideotrack) handler is passed, and the handler function returns an callback function for each sample, full parsing is required.
+Generally, if a field is marked as `slow`, it will require the full file to be read.
-Also, if [`convertMedia()`](/docs/webcodecs/convert-media) is used, full parsing is always required.
+Also, if an [`onVideoTrack`](/docs/media-parser/parse-media#onvideotrack) or [`onAudioTrack`](/docs/media-parser/parse-media#onvideotrack) handler is passed, and any function returns an callback function, full parsing is required.
## Metadata-only operations
diff --git a/packages/docs/docs/media-parser/fields.mdx b/packages/docs/docs/media-parser/fields.mdx
index 292d2b0ae3..7ddb81b77a 100644
--- a/packages/docs/docs/media-parser/fields.mdx
+++ b/packages/docs/docs/media-parser/fields.mdx
@@ -59,7 +59,7 @@ _string | null_
The MIME type of the file that was returned when the file was fetched.
Only available if using the [`webReader`](/docs/media-parser/web-reader) (default).
-### `structure`
+### `slowStructure`
The internal structure of the video. Unstable, internal data structure, refer to the TypeScript types to see what's inside.