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-03-21 14:00:26 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a0c0c94cf0bb8af9674d61754ab202930ca3b342
a0c0c94c
1 parent
2cebaff9
refine conf, add comments for other listen type
隐藏空白字符变更
内嵌
并排对比
正在显示
5 个修改的文件
包含
2 行增加
和
2 行删除
trunk/conf/demo.19350.conf
trunk/conf/full.conf
trunk/conf/srs.conf
trunk/src/app/srs_app_config.cpp
trunk/src/app/srs_app_server.cpp
trunk/conf/demo.19350.conf
查看文件 @
a0c0c94
...
...
@@ -3,7 +3,6 @@
# @see full.conf for detail config.
listen
19350
;
chunk_size
65000
;
vhost
__
defaultVhost__
{
enabled
on
;
gop_cache
on
;
...
...
trunk/conf/full.conf
100755 → 100644
查看文件 @
a0c0c94
trunk/conf/srs.conf
100755 → 100644
查看文件 @
a0c0c94
trunk/src/app/srs_app_config.cpp
查看文件 @
a0c0c94
...
...
@@ -670,6 +670,7 @@ int SrsConfig::parse_file(const char* filename)
}
SrsConfDirective
*
conf
=
NULL
;
// check rtmp port specified by directive listen.
if
((
conf
=
get_listen
())
==
NULL
||
conf
->
args
.
size
()
==
0
)
{
ret
=
ERROR_SYSTEM_CONFIG_INVALID
;
srs_error
(
"line %d: conf error, "
...
...
trunk/src/app/srs_app_server.cpp
查看文件 @
a0c0c94
...
...
@@ -325,7 +325,7 @@ int SrsServer::accept_client(SrsListenerType type, st_netfd_t client_stfd)
if
(
type
==
SrsListenerStream
)
{
conn
=
new
SrsClient
(
this
,
client_stfd
);
}
else
{
// handler others
//
TODO: FIXME:
handler others
}
srs_assert
(
conn
);
...
...
请
注册
或
登录
后发表评论