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-12-10 18:06:09 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
68ade0a267307e9899ee5796ef680da89267beb4
68ade0a2
1 parent
6bdd0af7
add log info for rtmp conn. change the mw_latency to 100 for realtime.
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
7 行增加
和
0 行删除
trunk/conf/realtime.conf
trunk/src/app/srs_app_rtmp_conn.cpp
trunk/conf/realtime.conf
100644 → 100755
查看文件 @
68ade0a
...
...
@@ -7,4 +7,8 @@ max_connections 1000;
vhost
__
defaultVhost__
{
gop_cache
off
;
queue_length
10
;
mr
{
enabled
off
;
}
mw_latency
100
;
}
...
...
trunk/src/app/srs_app_rtmp_conn.cpp
查看文件 @
68ade0a
...
...
@@ -615,8 +615,11 @@ int SrsRtmpConn::do_playing(SrsSource* source, SrsQueueRecvThread* trd)
#ifdef SRS_PERF_QUEUE_COND_WAIT
// we use wait to get messages, so the count must be positive.
srs_assert
(
count
>
0
);
srs_info
(
"mw wait %dms and got %d msgs %"
PRId64
"-%"
PRId64
"ms"
,
mw_sleep
,
count
,
msgs
.
msgs
[
0
]
->
timestamp
,
msgs
.
msgs
[
count
-
1
]
->
timestamp
);
#else
if
(
count
<=
0
)
{
srs_info
(
"mw sleep %dms for no msg"
,
mw_sleep
);
st_usleep
(
mw_sleep
*
1000
);
}
#endif
...
...
请
注册
或
登录
后发表评论