discord-media-recorder
discord-media-recorder copied to clipboard
Unable to record video
While hosting the bot, the bot only exprts a .wav
file, thile the desctiption states that the bot could also record video, but only records audio (at a very bad quality) and it breaks every 2 seconds.
I don't know if it's a hosting or memory problem, or just the way I use the bot
Steps to reproduce
- Clone the repo and git install in the typical way
- Edit
.env
(mine was this: )
# Standard configuration
BOT_TOKEN='supersecrettoken'
BOT_PREFIX='r@'
MEDIA_OUTPUT_FOLDER='recs'
NODE_ENV='development'
I create a recs folder, it saves it to it as expected.
- Turn on mic for it to start recording
- Share screen and turn video
These were the logs:
Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
{"name":"recorder","hostname":"main","pid":184893,"level":30,"msg":"---- PRODUCTION ENVIRONMENT ----","time":"2021-07-07T16:07:57.883Z","v":0}
{"name":"recorder","hostname":"main","pid":184893,"level":30,"msg":"Booting Discord Recorder BOT...","time":"2021-07-07T16:07:57.884Z","v":0}
{"name":"recorder","hostname":"main","pid":184893,"level":30,"msg":"I joined the Chill-Out channel.","time":"2021-07-07T16:08:04.121Z","v":0}
{"name":"recorder","hostname":"main","pid":184893,"level":30,"msg":"Creating new media recording file in: recs/2021-07-07_160806-media-recording.wav","time":"2021-07-07T16:08:06.406Z","v":0}
{"name":"recorder","hostname":"main","pid":184893,"level":30,"msg":"I left the Chill-Out channel.","time":"2021-07-07T16:08:15.789Z","v":0}
Hope you could add the functionality, or state it somewhere if the bot doesn't record video.
CYA