Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Latest commit

 

History

History
35 lines (27 loc) · 845 Bytes

README.md

File metadata and controls

35 lines (27 loc) · 845 Bytes

Discord bot video

Fork: Discord-video-experiment

features

  • 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)

implementation

What I implemented and what I did not.

Video codecs

  • VP8
  • VP9
  • H.264

Packet types

  • RTP (sending of realtime data)
  • RTX (retransmission)
  • Go live (?) (Has not been researched yet if even possible)

Extras

  • Figure out rtp header extensions (discord specific)

Running example

./example/config.js:

module.exports = "SELFBOT TOKEN HERE"

in ./example:

  1. have config.js like above
  2. run with node . + join voice
  3. Start bot: $play <youtube video>