Steamworks документация
Установяване на излъчване

Обзор

In this tutorial, we will walk you through the steps required to broadcast your game on the Steam storefront.

Before You Begin

Note: Games marked as "Adult-Only" cannot be streamed on the Steam store.
  • You will need a non-limited Steam account. “Non-limited” means that the Steam account you plan to stream from must have spent at least $5 USD on the Steam store. “Limited” accounts (accounts that have not spent at least $5 USD on Steam) will not be able to create an RTMP token and will not be able to stream to a store page on Steam.
  • The account you plan to stream from must own the game it will be streaming from. You can check this by logging into the Steam client with this account and confirming you see the game in your Steam Library.
  • Акаунтът трябва да има правомощието „Предаване на живо“ в партньорския Steamworks акаунт или да е член на групата „Магазин за предаване на бета“.

Setting up your Stream using RTMP


The steps below will help you gather the information required to stream your game from third-party broadcasting software. Streaming on Steam uses the RTMP protocol. You won’t need to know exactly how this protocol works to stream on Steam, but some familiarity with the below concepts will be helpful.
  1. Упътете се към http://steamcommunity.com/broadcast/upload/;

  2. Кликнете върху „Създаване на RTMP жетон“, за да откриете сървър за качване. Steam автоматично ще избере сървър за качване, който е близо до настоящото Ви местонахождение, спрямо Вашия IP адрес. Компютърът, който излъчва играта Ви, ще изпрати видео към него;

    stream1.png


  3. Намерете своя RTMP жетон. You will need to enter this token into your streaming software.

    What is an RTMP token?

    An RTMP token is a unique identifier to allow you to stream on Steam. You will generate this token at https://steamcommunity.com/broadcast/upload, and enter it into the software you plan to use to stream your game to Steam.
    Important: Treat your token like a password, and Never share it, as anyone who has it can stream as you. If you believe your key is compromised, you can invalidate it and generate a new one on this page.

    stream2.png


  4. Enter Your Game's AppID

    You can see your game’s App ID by visiting your game’s App landing page in Steamworks or going to your game’s Steam store page--your appID is in the URL.

    Note that you should only use the appID for your “base” game--do not use the appID for DLC, Demos, Soundtracks, or other secondary application types.

    stream3.png


  5. Set Your Broadcast Permissions

    By default, your stream is set to “Friends Only”, which means it’s only visible by you and your friends on Steam. This is a good way to test your stream before it’s publicly visible on your store page. Можете да проверите излъчването си, като кликнете върху „Адресът Ви за предаване“ под „Бързи връзки“ на тази страница. Once you are ready for your stream to appear publicly on your store page, you can change this permission to “Public”.

    stream4.png

Setting up OBS (Optional)

There are several software tools available for streaming your game to Steam. OBS is a popular free and open-source option. Below are steps to get your stream set up in OBS. Steam supports any broadcast software that supports the RTMP protocol.

stream5.png
  1. Navigate to File-->Settings-->Stream

  2. In the dropdown menu, select “Custom...”

    stream6.png

  3. В полето „Сървър“ използвайте RTMP адреса, генериран в полето „Сървър за качване“ на http://steamcommunity.com/broadcast/upload/;

  4. In the “Stream Key” field, enter the token provided at http://steamcommunity.com/broadcast/upload/

  5. In OBS, navigate to File-->Settings-->Output

    stream7.png

  6. Under Output Mode, select “Advanced” in the drop-down menu.

  7. On the Streaming tab, enter Keyframe Interval to 2. Note: This step is important. Without this setting your stream will fail to start.

Изпитания на излъчването Ви

Once you are ready, begin streaming your game using OBS. Next, go back to http://steamcommunity.com/broadcast/upload/ and look for a link to the right of the page called “Your Broadcast URL”.

stream8.png

You should see your gameplay being streamed on this page. At this point, if you set your broadcast permission to “Friends only”, your stream is not public yet.

Create a Steam Event For Your Game

It's a good idea to let your community know about your stream. You can do this using the Event tools on Steamworks. Below is a brief guide to setting up a Live-Stream/Broadcast event. You can learn more about Events on Steam here: https://partner.steamgames.com/doc/marketing/event_tools.

Следвайте тези стъпки:
  1. От главната страница на приложението за играта Ви, под секцията „Общност и Модерация“, кликнете върху „Публикуване/Управляване на събития и анонси“;

  2. Кликнете върху синия бутон „Създаване на ново събитие или анонс“;

  3. Изберете „Излъчване/Предаване на живо“;

    stream10.png


  4. Упътете се към раздела „Предаване“;

    stream11.png


  5. Включете характеристиката за излъчване на събитието, за да разкриете няколко опции за настройка на предаването.

    stream14.png

    Тук можете да въведете заглавие на предаването си от списъка или да въведете свое собствено. Ако въведете персонализирано име, не забравяйте да добавите локализирани заглавия.

    stream12.png

    Тук ще обозначите един или повече Steam акаунти, на които е позволено да излъчват към страницата Ви в магазина по време на събитието. Добавете акаунта, с който възнамерявате да излъчвате:

    stream13.png

    Важно — Steam акаунтът, който установява излъчването, и акаунтът, който излъчва, трябва да са приятели, за да може то да бъде видимо на тази страница.

    Препоръчително, но незадължително — Качете художествено творчество (което можете да използвате отново в бъдеще) за излъчването Ви на живо. Това художествено творчество ще се появи от двете страни на излъчването Ви на живо.

    Кликнете върху бутона „Запазване“, за да запазите събитието си;

  6. Go to the “Options” tab and confirm the start and stop times of the event are correct. You can continue your stream for up to 24 hours past the end time of your event.

  7. Запазете и публикувайте Вашето събитие. When you start streaming during the event, your stream will appear on your store page. Note that There may be a delay up to 5 minutes before the stream is picked up on the store page once you start streaming, so you may want to begin the stream a few minutes early to account for this.

Troubleshooting:


Q: I don’t see my broadcast on my Steam store page!

  • A.You may need to refresh the product page after a few seconds. We only display the live broadcast once a connection is established. First viewers will take the longest to establish the connection to the broadcaster.
  • Confirm that you have entered the right appID at https://steamcommunity.com/broadcast/upload. The appid is used to connect the stream to the correct game. If the appid is missing, the Steam store product page will not show the stream and it will not be featured on the front page. You will need to enter the appID and regenerate the RTMP token and enter it into your broadcasting software.

RTMP Streaming Specs

Ако излъчването Ви използва външен софтуер за излъчване на съдържание към Steam, тогава се прилага тази секция. At this time, Steam requires these encoding specs to be set. If you're having issues with videos stuttering, pausing, or not playing back correctly, please check the following:

Video encoding requirements

  • Codec: H.264
  • Profile: High
  • Level: 4.1
  • Frame Rate: 30 FPS or 60 FPS
  • Frame Ratio: 16:9
  • Keyframe interval: 2 seconds
  • Maximum bitrate: 7000 kbps CBR
Audio encoding requirements
  • Codec: AAC-LC
  • Maximum bitrate: 128 kbps

Забележки относно софтуер за излъчване
VMIX: By default, VMIX uses Profile Main and Level 3.0. You must change those settings in order for VMIX to stream correctly to Steam.

Using a Multi-streaming Service

Content Rules

Remember to obey the content rules when broadcasting on your product page. Please see Livestreaming FAQ for more details. Valve may moderate streams that violate these rules, or take other action on offending partner accounts, including termination.