@@ -1076,7 +1076,7 @@ export default {
video.onloadedmetadata = async () => {
try {
// 计算截取时长
- const duration = Math.min(1, video.duration);
+ const duration = Math.min(2, video.duration);
// 直接从视频元素捕获流
const stream = video.captureStream();