fix: Fix h264 videoCodec type for RecordVideoOptions (#1808)

This commit is contained in:
ike 2023-09-18 01:26:25 +08:00 committed by GitHub
parent 3cf42a0271
commit 18c7034b50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ export interface RecordVideoOptions {
* - `h264`: Widely supported, but might be less efficient, especially with larger sizes or framerates.
* - `h265`: The HEVC (High-Efficient-Video-Codec) for higher efficient video recordings.
*/
videoCodec?: 'h265' | 'h265';
videoCodec?: 'h264' | 'h265';
}
/**