Is it possible to stop the recording manually instead of set amount of frames? Kind of like this:
`
bot.once('spawn', () => {
let viewer = mineflayerViewer(bot, { output: 'output.mp4', width: 512, height: 512 })
await viewer.start();
//do something
await viewer.stop();
})
`