Fix incorrect API usage in docs

This commit is contained in:
Vanilagy
2025-06-27 19:06:17 +02:00
parent 846fa0b183
commit 0ff0729fec
10 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ import {
getFirstEncodableVideoCodec(['avc', 'vp9', 'av1']); // => Promise<VideoCodec | null>
getFirstEncodableAudioCodec(['opus', 'aac']); // => Promise<AudioCodec | null>
getEncodableVideoCodecs(
getFirstEncodableVideoCodec(
['avc', 'hevc', 'vp8'],
{ width: 1920, height: 1080, bitrate: 1e7 },
); // => Promise<VideoCodec | null>