nurdism / neko

A self hosted virtual browser (rabb.it clone) that runs in docker.
Apache License 2.0
2.03k stars 185 forks source link

[FEATURE] RTMP output (publish browser feed to Twitch/Youtube) #54

Open Sean-Der opened 4 years ago

Sean-Der commented 4 years ago

Is your feature request related to a problem? Please describe. This isn't a problem I am currently facing!

Describe the solution you'd like It would be really easy to add a rtmpsink to the GStreamer pipeline you have now, and send output to Twitch (or any other RTMP ingests)

Describe alternatives you've considered You could just have users join your neko instance

Additional context I am not sure this would actually be a useful feature, but this does open up some interesting opportunities! The idea just popped in my head so wanted to share it, feel free to close if you disagree. I am also happy to help implement :)

nurdism commented 4 years ago

This could be a neat feature, I'd love to see this implemented

leewardbound commented 4 years ago

hi @nurdism i see you have committed the code for this, i am keen to try it -- i've attempted setting -e NEKO_BROADCAST_RTMP and -e NEKO_RTMP but it doesn't seem like these are being registered (or it's hard to tell if RTMP is enabled because there's really no logging in the rtmp code path). do you have any usage instructions for RTMP please, if it is ready to use?

nurdism commented 4 years ago

I'm still trying to figure out how to get this to work, I put the settings there but they aren't hooked up to anything

m1k1o commented 3 years ago

@Sean-Der @leewardbound Recently, I came across the need of this feature and I'm going to implement it. PoC is already available, I was able to stream content to YouTube flawlessly. I'm planning to add URL input and simple Start/Stop button to settings.

Here is it: https://github.com/m1k1o/neko/tree/broadcast

leewardbound commented 3 years ago

wow, i cannot wait to check this out ASAP, thanks miroslav!

On Sat, Sep 26, 2020 at 2:35 AM Miroslav Šedivý notifications@github.com wrote:

@Sean-Der https://github.com/Sean-Der @leewardbound https://github.com/leewardbound Recently, I came across the need of this feature and I'm going to implement is. PoC is already, i was able to stream content to yourube flawlessly. I'm planning to add textarea and simple Start/Stop button to settings.

Here is is: https://github.com/m1k1o/neko/tree/broadcast

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nurdism/neko/issues/54#issuecomment-699469659, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADAOY6GBOSGZL255HOU433SHWYUVANCNFSM4LWDXMXA .

leewardbound commented 3 years ago

Streamed for an hour on twitch today, awesome patch! Thanks!

On Sat, Sep 26, 2020, 7:08 AM Leeward Bound linkedlinked@gmail.com wrote:

wow, i cannot wait to check this out ASAP, thanks miroslav!

On Sat, Sep 26, 2020 at 2:35 AM Miroslav Šedivý notifications@github.com wrote:

@Sean-Der https://github.com/Sean-Der @leewardbound https://github.com/leewardbound Recently, I came across the need of this feature and I'm going to implement is. PoC is already, i was able to stream content to yourube flawlessly. I'm planning to add textarea and simple Start/Stop button to settings.

Here is is: https://github.com/m1k1o/neko/tree/broadcast

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nurdism/neko/issues/54#issuecomment-699469659, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADAOY6GBOSGZL255HOU433SHWYUVANCNFSM4LWDXMXA .