Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to set stream key? (Stream dropped when pushing to YouTube) #1

Open
praveen001 opened this issue Nov 25, 2018 · 6 comments
Open
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested

Comments

@praveen001
Copy link

I would like to restream to youtube and twitch, but where do i mention the stream key?

@joshuaferrara joshuaferrara added the question Further information is requested label Nov 25, 2018
@joshuaferrara
Copy link
Member

joshuaferrara commented Nov 25, 2018

Sorry, the UI isn't too descriptive when it comes to that.

For Twitch, you'll need to combine your ingest server URL and stream key like this:
Ingest Server URL: rtmp://live-lax.twitch.tv/app/
Stream Key: abc123
Combined: rtmp://live-lax.twitch.tv/app/abc123

For YouTube:
Ingest Server URL: rtmp://a.rtmp.youtube.com/live2
Stream Key: abc123
Combined: rtmp://a.rtmp.youtube.com/live2/abc123

Then, you can add the combined URL as an endpoint within the Streampush UI.

@praveen001
Copy link
Author

praveen001 commented Nov 25, 2018

@joshuaferrara Thanks for your answer.

but, it didn't work. Youtube is closing the connection. Does this actually work with OBS? like this: OBS -> Relay -> Youtube?

Im suspecting nariex/joy4 here, because the http_flv_and_rtmp_server example is also outputing some corrupted data.

@joshuaferrara
Copy link
Member

Ah, yes. I did experience some issues when pushing to YouTube. It seemed to be quite hit-or-miss whether or not it kept the connection open. I had been hoping to replace the joy4 RTMP implementation, though never got around to finishing it. With that being said, pushing to YouTube might not work (which sucks).

As a side note, my YouTube tests seemed to stay open if I waited a few minutes between attempts to stream to it.

@praveen001
Copy link
Author

Oh, that's unfortunate. btw nareix/joy4#15 I think it's a long standing issue.

@joshuaferrara
Copy link
Member

Good to know that it's not on my side. I'm going to keep this issue open as a reminder to try and get YouTube streaming fixed, as that's going to be a deal breaker for quite a few people.

@joshuaferrara joshuaferrara added bug Something isn't working help wanted Extra attention is needed labels Nov 26, 2018
@joshuaferrara joshuaferrara changed the title how to set stream key? how to set stream key? (Stream dropped when pushing to YouTube) Nov 26, 2018
@joshuaferrara
Copy link
Member

I'm having no issues pushing to YouTube at a low resolution, with 2500 bitrate, and keyframe interval of 2s set in my OBS settings. Will follow up with some more testing later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants