Backup videos as they are being recorded.
If the phone was critically damaged while recording, what was recorded up to that point will be automatically emailed to the user.
- Install ffmpeg
- Create a SendGrid account to process emails (free while under limit, make sure to setup Sender Authentication).
- Set the environment variable
SG_KEY
to a valid SendGrid API key andFROM_EMAIL
to the email to send recordings from. $ git clone https://github.com/sshh12/body-cam.git && cd body-cam
$ yarn install
$ node server.js
- Fork
https://github.com/sshh12/body-cam
- Create a project on Heroku and deploy from the fork
- Add the
SG_KEY
andFROM_EMAIL
toConfig Vars
(see more above) - Attach build-packs:
heroku/nodejs
andhttps://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git