-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
v4_EN_Build
You can directly use the release binaries, or build SRS step by step. See: Github: release or Mirror of China: release
- CentOS6/CentOS7 is recommended.
- Use srs-docker to build SRS.
- Use srs-docker to run SRS.
Sometimes the stream play failed, but without any error message, or server cann't connect to. Please check the iptables and selinux.
Turn off iptables:
# disable the firewall
sudo /etc/init.d/iptables stop
sudo /sbin/chkconfig iptables off
Disable the selinux, to run getenforce
to ensure the result is Disabled
:
- Edit the config of selinux:
sudo vi /etc/sysconfig/selinux
- Change the SELINUX to disabled:
SELINUX=disabled
- Rebot:
sudo init 6
It's very easy to build SRS:
./configure && make
Also easy to start SRS:
./objs/srs -c conf/srs.conf
Publish RTMP, please read: Usage: RTMP
More usages, please read: Usage
For service management, please read Service.
Run SRS in docker, please read srs-docker
It's also ok to directly build on ARM server.
For ARM/MIPS or crossbuild, please read here.
Winlin 2014.11
Welcome to SRS wiki!
Please select your language:
Please select your language:
Please select your language:
Please select your language:
Please select your language: