Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2014-10-09 11:32:12 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bea53dca97b4c5218ad595b5f4c4c4c88a4cf7cc
bea53dca
1 parent
a9cceee9
refine the run script for centos7
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
3 行增加
和
1 行删除
trunk/scripts/build.sh
trunk/scripts/run.sh
trunk/scripts/build.sh
查看文件 @
bea53dc
...
...
@@ -10,3 +10,5 @@ echo "编译SRS"
ret
=
$?
;
if
[[
0 -ne
$ret
]]
;
then
echo
"错误:编译SRS失败"
;
exit
$ret
;
fi
echo
"编译SRS成功"
echo
"你可以启动SRS:"
echo
" bash scripts/run.sh"
...
...
trunk/scripts/run.sh
查看文件 @
bea53dc
...
...
@@ -17,7 +17,7 @@ echo "启动SRS转发服务器成功"
./etc/init.d/srs-api restart;
ret
=
$?
;
if
[[
0 -ne
$ret
]]
;
then
echo
"错误:启动API服务器失败"
;
exit
$ret
;
fi
echo
"启动API服务器成功"
ip
=
`
ifconfig|grep
"inet "
|grep -v
"127.0.0.1"
|awk
'NR==1 {print $2}'
|awk -F
':'
'{print $2}'
`
ip
=
`
ifconfig|grep
"inet "
|grep -v
"127.0.0.1"
|awk
-F
'inet '
'NR==1 {print $2}'
|awk
'{print $1}'
|sed
"s/addr://g"
`
port
=
8085
cat
<<END
默认的12路流演示:
...
...
请
注册
或
登录
后发表评论