ossrs / srs

SRS is a simple, high-efficiency, real-time media server supporting RTMP, WebRTC, HLS, HTTP-FLV, HTTP-TS, SRT, MPEG-DASH, and GB28181.
https://ossrs.io
MIT License
25.28k stars 5.33k forks source link

Open source replication: Achieve multi-platform live streaming, such as Kuaishou Cloud Live or Restream.io rebroadcasting. #2676

Closed winlinvip closed 2 years ago

winlinvip commented 2 years ago

SRS live Q&A, every Saturday night at 20:00, it is noticed that besides Douyin, the number of users on Bilibili is also gradually increasing. For general live streaming services, it is necessary to have the ability to simulcast to multiple live streaming platforms, such as distribution on Kuaishou Cloud Live, Restream.io, rebroadcasting on Xiaoe Tong, and so on.

Why

The goal of using an open-source replica rebroadcasting solution is to understand the related technologies involved in rebroadcasting. In certain situations, such as in a private cloud where rebroadcasting is needed, one can refer to the open-source replica solution to implement it themselves.

The goal of replication is not to provide commercial services. If one truly wants to develop a commercial product, they may need to consider more factors and strive for a more comprehensive implementation. Of course, in general, starting from an open-source solution is often the preferred choice.

Restream.io

You can stream to the restream.io platform on OBS.

image

This way, you can broadcast to other platforms such as twitch.tv, Facebook, and YouTube.

image

Kuaishou

Take a look at the powerful Kuaishou Cloud Live. After streaming or pulling the stream to the Kuaishou platform, it will be transcoded by default (if you have money), and it also supports streaming to other platforms with the built-in restream.io function. After the live broadcast is completed, you can even edit it. It can only be said that Teacher Yu is truly professional in live broadcasting, and having money allows for such extravagance.

image

Now you can watch the live broadcast on Kuaishou, Shipei Hao, and Bilibili.

https://user-images.githubusercontent.com/2777660/137226245-d0669633-e59b-4766-ba04-8d1e0eb1c1db.mp4

Xiaoe Tong

I also tried the live streaming feature of Xiaoe Tong, and it's pretty good. However, it is a paid service and not cheap. Of course, Xiaoe Tong has more than just this one feature, live streaming is just one of many.

image

Research

https://www.youtube.com/results?search_query=stream+to+multiple+platform

Stream to Facebook, YouTube, Twitch, Mixer, LinkedIn or any other social platforms.

Client(OBS, FFmpeg, WebRTC, etc) ==> SRS => Multile Platforms(Facebook, YouTube, Twitch, etc)

Of course, domestic platforms can also be supported, such as Video Number Live, Douyin, Kuaishou, Douyu, etc.

There still some works to do:

Previously, similar capabilities have been supported:

Existing multi-platform live streaming platforms:

Other multi-platform live streaming solutions:

TRANS_BY_GPT3

ghostsf commented 2 years ago

The live streaming platform does not provide a streaming address and does not allow direct streaming. It requires the use of exclusive streaming software, which is a problem.

TRANS_BY_GPT3

winlinvip commented 2 years ago

If the platform does not provide a streaming address, no one can retweet. This is an issue with some platforms, not with this functionality.

This does not affect the ability to retweet, as this platform is not a target platform, but it does not mean there are no other platforms.

The goal of open source is a global platform. For platforms that are not supported, it's better to not support them. We only need to consider those that can be supported.

Just because some girls choose not to get married doesn't mean we have to remain single, nor does it mean that marriage has lost its value. We should live our lives the way we want to. There are plenty of girls around the world, even if the domestic live streaming platforms are gradually becoming more closed-off.

TRANS_BY_GPT3

winlinvip commented 2 years ago

SRS cloud server is ready: https://mp.weixin.qq.com/s/FtaeQIJpb7vpmX2eFguLiQ

TRANS_BY_GPT3

talway commented 2 years ago

https://mp.weixin.qq.com/s/FtaeQIJpb7vpmX2eFguLiQ

You can retweet any live streaming platform as long as it is supported by FFmpeg. In fact, it is not limited to the three commonly used platforms mentioned in our guide. We provide them to give the links for creating live rooms, and in the future, we will add a custom server.

Looking forward to the release of this powerful feature.

TRANS_BY_GPT3