Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

Way of automatically updating the rtmp stream key? #127

Open
between2d opened this issue Jun 8, 2019 · 2 comments
Open

Way of automatically updating the rtmp stream key? #127

between2d opened this issue Jun 8, 2019 · 2 comments
Assignees

Comments

@between2d
Copy link

First off, you guys (especially @torch2424 and @andreasWebDev ) have been amazing in all the effort you guys have put into this. Really grateful for everything you guys do!

I have some questions about keeping the stream going 24/7:

  1. In order to keep the stream going 24/7 (for real) ideally I'd have a backup stream going to the same rtmp, right? I could do this with a(nother) VDS right?
  2. I think one of my main problems if that the youtube rtmp stream key changes (what appears to be randomly). How are other 24/7 music streams able to keep streaming to what seems to be infinitely? Is there a way to automate the key/pass changes? Maybe through some sort of AUTH in the youtube api?

Thanks

@torch2424 torch2424 self-assigned this Jun 9, 2019
@torch2424
Copy link
Owner

First off, you guys (especially @torch2424 and @andreasWebDev ) have been amazing in all the effort you guys have put into this. Really grateful for everything you guys do!

Thank you! 😄 Super stoked to see this and means a ton! 👍 I'm sure @andreasWebDev Will be super stoked to see this as well 😄

In order to keep the stream going 24/7 (for real) ideally I'd have a backup stream going to the same rtmp, right? I could do this with a(nother) VDS right?

Oooo. So to be honest, I haven't done any "real" 24/7 load proxying fancy stuff for my streams to be honest 😢 So I don't have much advice here.

I think one of my main problems if that the youtube rtmp stream key changes (what appears to be randomly). How are other 24/7 music streams able to keep streaming to what seems to be infinitely? Is there a way to automate the key/pass changes? Maybe through some sort of AUTH in the youtube api?

Huh your rtmp stream key is changing? I've been using the same one for my current stream for like months. 🤔 That being said, I know some of the more popular streams, like Chilled Cow go down for short amounts, as it says they do in the description (or at least it did last time I checked).

That being said, would be super open to a PR to enable this in the API or, make it returnable from the JS config 😄

Thanks!

@LauraWebdev
Copy link
Collaborator

Hey there, very exciting to see me mentioned in here :)

But I'm not only here to be excited, so, about your issue. Are you trying to stream to any RMTP server or YouTube specifically. If you do stream to YouTube, what you have to do is create a YouTube Livestream "Event" (basically a pre-setup and planned stream). You setup title, description and thumbnail and use the RMTP key provided in there. Since you created a specific event, the key won't change for this event.

@torch2424 if I don't forget it, I'll think of a PR for this, I have an idea or two in my mind already (though it's 2am for me now, oof)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants