Video for discord bot proof of concept. This is an experiment done by the Cascadebot team.
This accidental feature/bug has been patched by discord in the latest client update. the client still receives video but just doesn't show it anymore.
- Playing vp8 video in a voice channel (not
go live, but webcam video) - Transcoding video and audio to vp8 (using ffmpeg)
- Can send via streams (possible hook with youtube)
What I implemented and what I did not.
- VP8
- VP9
- H.264
- RTP (sending of realtime data)
- RTX (retransmission)
- Go live (?) (Has not been researched yet if even possible)
- Figure out rtp header extensions (discord specific)
config.js:
module.exports = "BOT TOKEN HERE"in /example:
- have
config.jslike above - have
constants.jsset correctly for your voice channel - set video file path in
index.js - run with
node .