perf: ♻️ Optimize camera recording stability

This commit is contained in:
viarotel 2024-10-31 16:07:48 +08:00
parent 3dd7525259
commit 952b2a7250

View File

@ -18,7 +18,7 @@ const recordModel = {
extname: config => config['--audio-record-format'] || 'opus',
},
camera: {
excludes: ['--video-source', '--turn-screen-off', '--show-touches', '--no-power-on'],
excludes: ['--video-source', '--turn-screen-off', '--show-touches', '--no-power-on', '--stay-awake', '--power-off-on-close'],
commands: ['--video-source=camera'],
extname: config => config['--record-format'] || 'mp4',
},