1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Merge SRS4

This commit is contained in:
winlin 2020-03-14 17:16:51 +08:00
commit 6f4584db53
3 changed files with 3 additions and 23 deletions

View file

@ -325,25 +325,6 @@ rtc {
candidate *;
}
#############################################################################################
# Kafka sections
#############################################################################################
# Apache Kafka is a high-throughput distributed messaging system.
# SRS is a Kafka producer to send message to kafka.
# @see https://kafka.apache.org/documentation.html#introduction
kafka {
# whether enabled kafka.
# default: off
enabled off;
# the broker list, broker is <ip:port>
# and use space to specify multple brokers.
# for example, 127.0.0.1:9092 127.0.0.1:9093
brokers 127.0.0.1:9092;
# the kafka topic to use.
# default: srs
topic srs;
}
#############################################################################################
# RTMP/HTTP VHOST sections
#############################################################################################

View file

@ -23,7 +23,7 @@ ret=$?; if [[ $ret -ne 0 ]]; then exit $ret; fi
# check lsb_release
ok_msg "check tools"
lsb_release -v >/dev/null 2>&1; ret=$?
if [[ $ret -ne 0 ]]; then failed_msg "abort, please install lsb_release"; exit $ret; fi
if [[ $ret -ne 0 ]]; then failed_msg "no lsb_release, install: yum install -y redhat-lsb"; exit $ret; fi
# user must stop service first.
ok_msg "check previous install"