mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-02 05:13:50 +02:00
Fix incorrect API usage in docs
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user