In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces the method of Docker installation and operation of SRS related knowledge, the content is detailed and easy to understand, the operation is simple and fast, has a certain reference value, I believe that everyone after reading this Docker installation and operation of SRS method article will have a harvest, let's take a look at it.
Brief introduction
Introduction to SRS
SRS positioning is a cluster of Internet live broadcast servers at the operational level, pursuing better conceptual integrity and the simplest code to implement. SRS provides a rich access scheme to connect RTMP streams to SRS, including pushing RTMP to SRS, pushing RTSP/UDP/FLV to SRS, and pulling streams to SRS. SRS also supports various transformations of connected RTMP streams, such as transcoding RTMP streams, taking screenshots, forwarding them to other servers, re-encapsulating them into HTTP-FLV streams, re-encapsulating them into HLS, re-encapsulating them into HDS, re-encapsulating them into DASH, and recording them into FLV/MP4. SRS includes key features of large-scale clusters such as CDN services, such as RTMP multi-level clusters, origin server clusters, VHOST virtual servers, non-disruptive service Reload, and HTTP-FLV clusters. In addition, SRS also provides a wealth of application interfaces, including HTTP callback, security policy Security, HTTP API interface, RTMP speed measurement. SRS has been widely used in origin server and CDN cluster Applications.
SRS document
SRS wiki document
Let's take a look at the process of installing and running SRS for Docker.
1. Window10 installs Docker
View document address
The last step in the document, _ _, sets image acceleration _ _. If there is no third-party acceleration resource, change it to the following figure:
Address of the speed governor: https://registry.docker-cn.com
II. Install centos7 for Docker
Document address: https://www.runoob.com/docker/docker-install-centos.html
1. Select the installation image and pull the image resources
Docker pull centos:centos7.6.1810
two。 Run centos
Docker run-itd-- name centos-srs-p 19350 name centos-srs 1935 centos:centos7.6.1810 / bin/bash
3. View the currently running container
Docker ps
4. Copying local files to centos7,srs_Release_x64.tar.gz is a self-compiled binary file, which only provides rtmp distribution service.
Docker cp D:srssrs_Release_x64.tar.gz centos-srs:/home/
5. Enter the centos7 of docker
Docker exec-it centos-srs / bin/bash
Install gcc, Gmail +
Yum install-y gcc gcc-c++
Start srs
Cd / home/srs/trunk/ & &. / objs/srs-c conf/fast.conf
Ffmpeg push test
.fmpeg.exe-I "rtsp://admin:123456@192.168.1.108:554/cam/realmonitor?channel=1&subtype=0"-CMV h364-an-f flv "rtmp://127.0.0.1:19350/live/test"
Pull test was successful
6. Other
# # stop docker centosdocker stop centos-srs## restart docker restart centos-srs## start docker start centos-srs on "how to install and run SRS in Docker" this article ends here, thank you for reading! I believe that everyone has a certain understanding of the knowledge of "Docker installation and operation of SRS". If you want to learn more knowledge, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.