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-04-08 13:54:16 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d124772d6a606af4ee73fbad3bef01634ed26e89
d124772d
1 parent
d6d371eb
add http server/api to srs.conf. add comments for bug #6.
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
11 行增加
和
0 行删除
trunk/conf/srs.conf
trunk/src/app/srs_app_rtmp_conn.cpp
trunk/conf/srs.conf
查看文件 @
d124772
...
...
@@ -4,5 +4,14 @@
listen
1935
;
srs_log_tank
file
;
srs_log_file
./
objs
/
srs
.
log
;
http_api
{
enabled
on
;
listen
1985
;
}
http_stream
{
enabled
on
;
listen
8080
;
dir
./
objs
/
nginx
/
html
;
}
vhost
__
defaultVhost__
{
}
...
...
trunk/src/app/srs_app_rtmp_conn.cpp
查看文件 @
d124772
...
...
@@ -675,6 +675,8 @@ int SrsRtmpConn::process_play_control_msg(SrsConsumer* consumer, SrsCommonMessag
}
srs_info
(
"decode the amf0/amf3 command packet success."
);
// for jwplayer/flowplayer, which send close as pause message.
// @see https://github.com/winlinvip/simple-rtmp-server/issues/6
SrsCloseStreamPacket
*
close
=
dynamic_cast
<
SrsCloseStreamPacket
*>
(
msg
->
get_packet
());
if
(
close
)
{
ret
=
ERROR_CONTROL_RTMP_CLOSE
;
...
...
请
注册
或
登录
后发表评论