Skip to content

Commit

Permalink
perf: ♻️ Optimize camera recording stability
Browse files Browse the repository at this point in the history
  • Loading branch information
viarotel committed Oct 31, 2024
1 parent 3dd7525 commit 952b2a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
Expand Down

0 comments on commit 952b2a7

Please sign in to comment.