aiko-chan-ai / Discord-video-experiment

Experiment for making video work for discord selfbots.

Home Page:https://github.com/aiko-chan-ai/Discord-video-selfbot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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>

About

Experiment for making video work for discord selfbots.

https://github.com/aiko-chan-ai/Discord-video-selfbot


Languages

Language:JavaScript 100.0%