Publish via HLS as input stream #3968
Replies: 1 comment
-
SRS does not support publishing streams via HLS, unlike YouTube. However, YouTube initially designed their system to support publishing streams via HLS because, a few years ago, RTMP did not support HEVC and AV1 codecs. Now that an updated version of RTMP, known as enhanced RTMP, supports those codecs, YouTube also claims that publishing streams via HLS is not the ideal protocol. Besides these points, SRS does not support converting streams to the SRT protocol. For example, you cannot publish an RTMP stream and then convert it to SRT because SRS is designed for internet streaming. Thus, we only support converting SRT, RTMP, or WebRTC protocols to internet protocols like HLS, HTTP-FLV, or WebRTC, which can be played by internet browsers. So, even if SRS one day supports publishing streams via HLS, we won't support conversion to SRT. We only support conversion to browser-supported protocols, such as HLS, HTTP-FLV, or WebRTC, because browsers are the de facto standard tools for internet streaming. However, we are open to supporting this protocol for publishing streams via HLS. If you, or anyone else, can submit a pull request to add this feature, we would be happy to accept it. We are an open-source community and are open to integrating new protocols. |
Beta Was this translation helpful? Give feedback.
-
I have a question and is it possible to put a hls .m3u8 entry and distribute it in srt, rtmp and hls?
Beta Was this translation helpful? Give feedback.
All reactions