datarhei / restreamer

The Restreamer is a complete streaming server solution for self-hosting. It has a visually appealing user interface and no ongoing license costs. Upload your live stream to YouTube, Twitch, Facebook, Vimeo, or other streaming solutions like Wowza. Receive video data from OBS and publish it with the RTMP and SRT server.
https://docs.datarhei.com/restreamer/
Apache License 2.0
3.97k stars 452 forks source link

RTMP for Steam Broadcast #504

Open svenerbeck opened 1 year ago

svenerbeck commented 1 year ago

Discussed in https://github.com/datarhei/restreamer/discussions/501

Originally posted by **Sebedai** January 28, 2023 Hello, I would like to send a stream to Steam Broadcast. https://partner.steamgames.com/doc/store/broadcast/setting_up For this I tried to use the service RTMP. As address I tried "rtmp://ingest-rtmp.broadcast.steamcontent.com/app/MyToken". Unfortunately without success. If I enter the as address rtmp://ingest-rtmp.broadcast.steamcontent.com/app in OBS (Service: Custom) and specify the token in the separate token input field, the stream works. How do I have to enter the link to the RTMP ? Is there alternatively like in OBS the possibility to specify the address and the token separately ? Thanks for the help
svenerbeck commented 1 year ago

Hello @Sebedai

We only process tickets with error logs. It is necessary to see possible errors. Here you can see how to get the log file: https://www.youtube.com/watch?v=mZMGrweFCsM — Thank you for being so understanding.

Cheerio Sven

Sebedai commented 1 year ago

Hello svenerbeck

Thanks for the help.

I have created two report. One in which I put the token in quotes and one without quotes.

The token shown in the images/reports is no longer valid. I generated a new token at Steam after I created the reports.

report token with quotes.txt report token without quotes.txt 92_2023_02_02_21_06__UcI4uuSmgY 93_2023_02_02_21_10__O6DpmWlrPW

whittinghamj commented 1 year ago

Im having the same issue - most annoying !!!

BaluGamingTV commented 1 year ago

Same Problem... so the URL wll chose from a list of server automatical...

rtmp://ingest-rtmp.broadcast.steamcontent.com/app/key

Its switching every 15 seconds from off to connect... but dont hold the connection.

Any Tips?

ioppermann commented 1 year ago

Did you follow the instructions on https://partner.steamgames.com/doc/store/broadcast/setting_up ?

There is says in the section of setting up the stream with OBS: "7. On the Streaming tab, enter Keyframe Interval to 2. Note: This step is important. Without this setting your stream will fail to start."

This is OBS specific. If you use any other encoder, make sure that you set the keyframe interval to 2 seconds.

Unfortunately, we can't test it becaue we don't have a Steam developer account.

BaluGamingTV commented 1 year ago

My Settings are at follow:

obs64_35zcTtSQit

So the two seconds are there.

Befor Restreamer i used a NGINX RTMP Server and with that it has worked. I only take the URL from NGINX in to Restreamer.