Skip to content

Send OBS directly into Discord. No Virtual Camera or transcoding needed!

License

Notifications You must be signed in to change notification settings

Sean-Der/obs-into-discord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OBS Into Discord

License Discord

What is OBS Into Discord

This project allows you to send video from OBS directly into Discord. The video is not transcoded or modified in any way. What you send is then sent directly to discord.

As a user this gives you

  • Higher quality video. Tune your encoding settings!
  • Better platform support. Get audio for Linux screenshares.
  • More customization. Custom layouts/capture multiple windows....

This projects accepts WebRTC (WHIP) clients using werift-webrtc. It then bridges this into Discord using dank074/Discord-video-stream. This project also supports more then just OBS. You can also use any client that support WHIP.

Setup

Download

git clone https://github.com/Sean-Der/obs-into-discord.git

Install Dependencies

cd obs-into-discord && npm install

Set userToken in config.json

Getting the userToken is the hardest step. I found these guides the most useful

Set serverIdNumber and channelIdNumber

Follow the official documentation here

Change httpPort if 4321 isn't available

In most cases you will not to change this. Only ff port 4321 is already used by another service.

Using

Run node index.js. If it starts without errors you have configured everything correctly. You now have a WHIP -> Discord bridge running on port 4321. Publish from OBS via WHIP to http://localhost:4321. Currently you can do any streamKey (this may change in the future)

OBS Stream settings example

The following encoding settings are recommended. You can try tuning these, but may see inconsistent playbcak behavior

OBS Output settings example

If everything worked you should see the following output in the console.

Console output

TODO

  • Allow configuration via Web UI
  • Creater Docker Image
  • Upload to Dockerhub
  • Create executable for easier install
  • Support H265
  • Support AV1
  • Lower Latency

More

For self hosting see Broadcast Box. With Broadcast Box you can broadcast with 150Ms of latency and push any video quality you want. No bitrate or codec restrictions!

Join the Discord and we are ready to help!

About

Send OBS directly into Discord. No Virtual Camera or transcoding needed!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published