// 设置期望帧率 // Set preferred frame rate. session.frameRateControl = { type: "preferred", frameRate: 20 };