m1k1o / neko

A self hosted virtual browser that runs in docker and uses WebRTC.
https://neko.m1k1o.net/
Apache License 2.0
5.96k stars 449 forks source link

Request: Discord Streaming option #246

Open phere-x opened 1 year ago

phere-x commented 1 year ago

Provide an option to also stream to a discord Voice Channel, while also live via rtmp to reach even more viewers.

An actual user account would need to be created and either signed in manually or token provided (can't be a bot as they do not have the ability to stream video, only audio).

I really don't know what it'll take to pull it off/how it's done, but a few people have created "self-bots" on github that can screen-share (one that I specifically tried testing a while ago was https://github.com/MainSilent/Discord-Screenshare)

m1k1o commented 1 year ago

Just an idea: Have you tried to open discord inside, logged in and started streaming? It should give you what you are looking for.

Otherwise you could try to find out how people can stream OBS to discord, neko supports RTMP stream output so if some existing service/bot already accepts RTMP input, it should be easy to just wire them up.

yesBad commented 1 year ago

Just an idea: Have you tried to open discord inside, logged in and started streaming? It should give you what you are looking for.

Just wanted to add that I have done this & it works fine.

phere-x commented 1 year ago

I tested out your suggestion, it ends up increasing resource use by a fair amount. I guess discord is a little too much of a hog as it is, let alone when running in browser AND grabbing streams, & for some reason showing a mini player further using even more.

The video quality is just fine, but the audio is horrid. Sounds very muffled.