Tài liệu Steamworks
Phát sóng demo trò chơi lên cửa hàng Steam
Broadcasting gameplay from a Demo App to the Steam Store can be beneficial. For instance, it can be a great way to show future fans content in the game prior to its launch and may encourage Steam customers to try out the demo for themselves.

This document will outline the steps to successfully stream a demo to your Steam store page. Streaming a demo to the Steam store is different in a few area than streaming the base game. This document will outline those differences.

Hình nền

Demo trên Steam có appID riêng biệt với trò chơi gốc. They do not have their own Steam store page and instead are discovered by users by search, by download demo appearing on the base game store page or the Demo Content Hub or being part of Steam Next Fest type events.

Tìm hiểu thêm về cách thiết lập demo tại đây.

Cân nhắc khi phát sóng demo

Since Demos do not have their own store page, you cannot use the Demo appID for setting up your stream. The Demo appID will not automatically appear on the base game store page. Cho dù bạn đang phát sóng nội dung của demo, bạn phải báo hiệu bạn đang phát sóng trò chơi gốc tới hệ thống phát sóng Steam. The other important consideration is using a Steam account which is allowed to play the base game. The Steam account can acquire the base game a few ways:

  • It is a member of the Steamworks Partner Group with access to the game.
  • Has a license for the game either via purchase or a product key, if the game is released.
  • Has a release override license for the game if the game is unreleased.

Máy chủ phát sóng Steam sẽ ngăn phát sóng nội dung nếu tài khoản Steam không có quyền chơi. This is a general safeguard to prevent unintentionally leaking game content via Steam broadcast.
You cannot use the Steam Client built-in broadcasting feature to Stream demo gameplay to the Steam Store, because the client will use the Demo appID. Since the Demo appID does not match the base game appID, it will not appear on the base game Steam store page. If you intend to stream Demo gameplay to the Steam store, you will need to use 3rd-party streaming software.

Streaming Setup

Cần thực hiện các hành động sau:
  • Setup the prerequisite for your streaming account as outlined by the requirements section.
  • Allow the streaming Steam account permissions to broadcast onto the Base Game store page as outlined here. This permission is granted either using a Steam Event or until it's removed from the Special Settings of the Store Page Edit and the store page is then re-published.
  • You need to use external software to stream a demo to Steam, thus you need to prepare your streaming Steam account's RTMP Server and Token as defined here. Remember to setup the Broadcast appID to your base game's appID, not your demo appID.
  • Do not play the Demo app using the same Steam Account you plan to use for broadcasting. Tại sao? Playing a game in the Steam library will inform the Broadcast system of the AppID the account is playing. Hệ thống phát sóng sẽ ưu tiên trò chơi trong thư viện hơn giá trị AppID được thiết lập trong trang thiết lập phát sóng. Nếu bạn muốn chơi demo thì phải sử dụng tài khoản Steam khác với tài khoản bạn sử dụng để phát sóng.

Phần mềm phát sóng

Có rất nhiều gói phần mềm hiện có cho phép bạn phát sóng trò chơi tới nền tảng như Steam. We are going to give a quick example of using an open-source option called OBS (Open Broadcaster Software).

Bắt đầu nhanh với OBS

Hướng dẫn các bước để thiết lập phát sóng tới Steam thông qua OBS. Your OBS version may have a slightly different user interface, however, the overall steps should be the same.
  1. Start running the Demo app, so it is ready for OBS to capture content.
  2. Tạo một scene (phân cảnh). You can name it anything.

    2020-03-10_22-10-29.png

  3. Setup a source for OBS to capture video and audio content. OBS has a default source called 'Game Capture'. Create a new one with any name you want.

    2020-03-10_22-11-39.png 2020-03-10_22-13-24.png 2020-03-10_22-23-22.png

  4. On the properties window for you new game capture, set the mode to 'Capture Specific Window' and choose in the window your running demo. You can close the properties window at this point as game is ready to capture.

    2020-03-10_22-20-21.png

  5. Open "Settings" in the Control Panel.

    2020-03-10_22-25-10.png

  6. Go to the 'Stream' configuration tab. Choose 'Custom Streaming Server' from the Stream type drop-down. This is where you enter the upload server and upload token that is found on the broadcast upload settings page. This configuration needs to be set when logged in as the account you plan on streaming to Steam with.

    2020-03-10_22-26-59.png

  7. Go to the 'Output' configuration tab. Chọn chế độ đầu ra 'Advanced' (Nâng cao). Make sure to specify keyframe interval parameter to 2, as that is a critical requirement for uploading streaming content to Steam. Những thiết lập mặc định khác có thể giữ nguyên. More details on Steam's requirement for those other setting can be found here.

    2020-03-10_22-32-11.png

  8. Bạn đã sẵn sàng để phát sóng rồi. Bạn có thể đóng cửa sổ thiết lập và bắt đầu phát sóng. You can return to the broadcast upload settings page while logged in as the streaming account to see statistics about your broadcast, any diagnostic error messages, and to find a link to the stream on Steam Community.

    2020-03-10_22-36-01.png