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

View File

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