Skip to content

Commit

Permalink
Add new blog for multiple platform live streaming.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Sep 9, 2023
1 parent d3fa248 commit 49becf3
Show file tree
Hide file tree
Showing 25 changed files with 188 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
---
slug: Multi-Platform-Streaming
title: SRS Stack - Maximize Your Live Streaming Reach - A Guide to Multi-Platform Streaming
authors: []
tags: [live streaming, multi-platform streaming, restreaming]
custom_edit_url: null
---

# Maximize Your Live Streaming Reach: A Comprehensive Guide to Multi-Platform Streaming with SRS Stack

In today's digital world, live streaming has become an essential tool for businesses, content creators, and individuals to engage with their audiences. With the increasing popularity of various live streaming platforms like YouTube, Twitch, and Facebook, it has become crucial to stream your content on multiple platforms simultaneously to reach a wider audience. This blog will guide you through the process of live streaming to multiple platforms using SRS Stack.

<!--truncate-->

SRS Stack is a powerful and easy-to-use solution that allows you to live stream to multiple platforms with just a few clicks. It also enables you to stream to your own platform or even set up an intranet live stream within your company. Let's dive into the steps to set up live streaming on multiple platforms using SRS Stack.

### Step 1: Create SRS Stack by one click

Creating an SRS Stack is simple and can be done with just one click if you use Digital Ocean droplet.
Please see [How to Setup a Video Streaming Service by 1-Click](./2022-04-09-SRS-Stack-Tutorial.md) for detail.

You can also use Docker to create an SRS Stack with a single command line:

```bash
docker run --rm -it -p 2022:2022 -p 2443:2443 -p 1935:1935 \
-p 8080:8080 -p 8000:8000/udp -p 10080:10080/udp --name srs-stack \
-v $HOME/data:/data ossrs/srs-stack:5
```

After creating the SRS Stack, you can access it through `http://your-server-ip/mgmt`.

### Step 2: Publish a live stream to SRS Stack

You can use OBS or FFmpeg to publish a live stream to SRS Stack. You can also set up HTTPS and publish via WebRTC.

![](/img/blog-2022-04-09-01.png)

Once the stream is published, you can preview it using an H5 player or VLC.
Please see [How to Setup a Video Streaming Service by 1-Click](./2022-04-09-SRS-Stack-Tutorial.md) for detail.

### Step 3: Forward to YouTube

To forward your stream to YouTube, copy the Stream URL and Stream key from your YouTube [Go live](https://studio.youtube.com/channel/UC/livestreaming) page.

![](/img/blog-2023-09-09-01.png)

Open the SRS Stack dashboard and click on `Scenarios > Forward > YouTube`. And click `Start Forward` in SRS Stack.

![](/img/blog-2023-09-09-02.png)

Your stream will now be published on YouTube.

![](/img/blog-2023-09-09-03.png)

### Step 4: Forward to Twitch

To forward your stream to Twitch, copy the Stream key from your Twitch [Dashboard](https://www.twitch.tv/dashboard/settings) under `Settings > Stream`.

![](/img/blog-2023-09-09-04.png)

Open the SRS Stack dashboard and click on `Scenarios > Forward > Twitch`. Click `Start Forward` in SRS Stack.

![](/img/blog-2023-09-09-05.png)

And your stream will be published on Twitch in the [Stream Manager](https://www.twitch.tv/dashboard/stream).

![](/img/blog-2023-09-09-06.png)

### Step 5: Forward to Facebook

To forward your stream to Facebook, copy the Stream key from your Facebook [Live Producer](https://www.facebook.com/live/producer?ref=OBS) page,
then click `Go live`, and select `Streaming software`.

![](/img/blog-2023-09-09-07.png)

![](/img/blog-2023-09-09-08.png)

Open the SRS Stack dashboard and click on `Scenarios > Forward > Facebook`. Click `Start Forward` in SRS Stack, and your stream will be published on Facebook.

![](/img/blog-2023-09-09-09.png)

![](/img/blog-2023-09-09-10.png)

![](/img/blog-2023-09-09-11.png)

### Step 6: Check Multiple Streaming Status

After publishing your stream on all platforms, you can check the multiple streaming status in the SRS Stack dashboard.

![](/img/blog-2023-09-09-12.png)

### Conclusion

Live streaming to multiple platforms is an effective way to reach a broader audience and increase engagement. SRS Stack makes this process simple and efficient, allowing you to focus on creating quality content while it takes care of the technical aspects. By following the steps outlined in this blog, you can easily set up live streaming on multiple platforms like YouTube, Twitch, and Facebook, and take your content to the next level.

![](https://ossrs.net/gif/v1/sls.gif?site=ossrs.io&path=/lts/blog-en/2023-08-29-Multi-Platform-Streaming.md)
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
---
slug: Multi-Platform-Streaming
title: SRS Stack - 如何实现多平台转播
authors: []
tags: [live streaming, multi-platform streaming, restreaming]
custom_edit_url: null
---

# Maximize Your Live Streaming Reach: A Comprehensive Guide to Multi-Platform Streaming with SRS Stack

在当今的数字世界中,直播已成为企业、内容创作者和个人与受众互动的重要工具。随着视频号直播、B站和快手等各种直播平台的日益普及,同时在多个平台上播放内容已变得至关重要,以便触及更广泛的受众。本博客将指导您使用SRS Stack在多个平台上进行直播。

<!--truncate-->

SRS Stack是一种功能强大且易于使用的解决方案,只需点击几下鼠标即可在多个平台上进行直播。它还允许您将内容流式传输到自己的平台,甚至在公司内部设置内部网直播。让我们深入了解如何使用SRS Stack在多个平台上设置直播。

### Step 1: Create SRS Stack by one click

如果您使用腾讯云轻量服务器,只需点击一下即可创建SRS Stack。请参考 [SRS Stack - 起步、购买和入门](./2022-04-09-SRS-Stack-Tutorial.md) 这个博客。

您还可以使用Docker通过单个命令行创建SRS Stack:

```bash
docker run --rm -it -p 2022:2022 -p 2443:2443 -p 1935:1935 \
-p 8080:8080 -p 8000:8000/udp -p 10080:10080/udp --name srs-stack \
-v $HOME/data:/data registry.cn-hangzhou.aliyuncs.com/ossrs/srs-stack:5
```

创建SRS Stack后,您可以通过 `http://your-server-ip/mgmt` 访问它。

### Step 2: Publish a live stream to SRS Stack

您可以使用OBS或FFmpeg将直播发布到SRS Stack。您还可以设置HTTPS并通过WebRTC发布。发布流后,您可以使用H5播放器或VLC预览它。

![](/img/blog-2023-09-09-13.png)

推流到SRS Stack后,你可以用网页预览它,也可以用VLC播放。
请参考 [SRS Stack - 起步、购买和入门](./2022-04-09-SRS-Stack-Tutorial.md) 这个博客。

### Step 3: Forward to WeChat

要将流转发到视频号直播,请先在[视频号直播](https://channels.weixin.qq.com/platform/live/liveBuild)后台,创建直播。
然后,复制服务器地址和密钥。

![](/img/blog-2023-09-09-14.png)

请打开SRS Stack仪表板,然后单击`应用场景 > 多平台转播 > 视频号直播`,然后在SRS Stack中单击`开始转播`

![](/img/blog-2023-09-09-15.png)

您的流现在将在视频号直播上发布。

![](/img/blog-2023-09-09-16.png)

### Step 4: Forward to Bilibili

要将流转发到B站直播,请先在[B站直播](https://link.bilibili.com/p/center/index#/my-room/start-live)后台,创建直播。
然后,复制服务器地址和密钥。

![](/img/blog-2023-09-09-17.png)

请打开SRS Stack仪表板,然后单击`应用场景 > 多平台转播 > B站直播`,然后在SRS Stack中单击`开始转播`

![](/img/blog-2023-09-09-18.png)

您的流现在将在B站直播上发布。

![](/img/blog-2023-09-09-19.png)

### Step 5: Forward to Custom

你也可以将流转给任意平台,甚至可以转给SRS Stack自己,在`应用场景 > 私人直播间`中复制服务器地址和密钥。

请打开SRS Stack仪表板,然后单击`应用场景 > 多平台转播 > 自定义凭他`,然后在SRS Stack中单击`开始转播`

![](/img/blog-2023-09-09-20.png)

您的流现在将在自定义平台上发布。

### Step 6: Check Multiple Streaming Status

在所有平台上发布流后,您可以在SRS Stack仪表板中检查多个流媒体状态。

![](/img/blog-2023-09-09-21.png)

### Conclusion

在多个平台上进行直播是触及更广泛受众和提高参与度的有效方法。SRS Stack使此过程变得简单高效,让您专注于创建高质量内容,而它负责处理技术方面的问题。通过遵循本博客中概述的步骤,您可以轻松地在视频号、B站、快手等多个平台上设置直播,并将您的内容提升到一个新的水平。

![](https://ossrs.net/gif/v1/sls.gif?site=ossrs.io&path=/lts/blog-zh/2023-08-29-Multi-Platform-Streaming.md)
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,7 @@ SRS Stack的使用说明,请参考视频[SRS Stack:起步、购买和入门]
* 2023.09.07: Don't expose 1985 API port. v5.9.16
* 2023.09.07: Load environment variables from /data/config/.srs.env. v5.9.17
* 2023.09.07: Change guide to use $HOME/data as home. v5.9.18
* 2023.09.09: Translate forward to English. v5.9.19
* v5.8
* 总是释放DO的临时测试资源。 v1.0.306
* 修复 Docker 启动失败,通过测试覆盖。v1.0.306
Expand Down
1 change: 1 addition & 0 deletions src/pages/faq-srs-stack.md
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,7 @@ The following are the update records for the SRS Stack server.
* 2023.09.07: Don't expose 1985 API port. v5.9.16
* 2023.09.07: Load environment variables from /data/config/.srs.env. v5.9.17
* 2023.09.07: Change guide to use $HOME/data as home. v5.9.18
* 2023.09.09: Translate forward to English. v5.9.19
* v5.8
* Always dispose DO VM and domain for test. v1.0.306
* Fix docker start failed, cover by test. v1.0.306
Expand Down
Binary file added static/img/blog-2023-09-09-01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/blog-2023-09-09-02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/blog-2023-09-09-03.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/blog-2023-09-09-04.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/blog-2023-09-09-05.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/blog-2023-09-09-06.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/blog-2023-09-09-07.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/blog-2023-09-09-08.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/blog-2023-09-09-09.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/blog-2023-09-09-10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/blog-2023-09-09-11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/blog-2023-09-09-12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/blog-2023-09-09-13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/blog-2023-09-09-14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/blog-2023-09-09-15.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/blog-2023-09-09-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/blog-2023-09-09-17.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/blog-2023-09-09-18.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/blog-2023-09-09-19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/blog-2023-09-09-20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/blog-2023-09-09-21.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 49becf3

Please sign in to comment.