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
2013-10-29 18:46:46 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
293399dcf5df49fc112c52006fed6532d9571e27
293399dc
1 parent
3aa6be86
fix bug of time jitter correcter
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
5 行增加
和
0 行删除
trunk/src/core/srs_core_source.cpp
trunk/src/core/srs_core_source.cpp
查看文件 @
293399d
...
...
@@ -136,6 +136,11 @@ int SrsConsumer::jitter_correct(SrsSharedPtrMessage* msg, int audio_sample_rate)
}
else
{
delta
=
DEFAULT_FRAME_TIME_MS
;
}
// sometimes, the time is absolute time, so correct it again.
if
(
delta
>
CONST_MAX_JITTER_MS
)
{
delta
=
DEFAULT_FRAME_TIME_MS
;
}
srs_info
(
"jitter detected, last_pts=%d, pts=%d, diff=%d, last_time=%d, time=%d, diff=%d"
,
last_pkt_time
,
time
,
time
-
last_pkt_time
,
last_pkt_correct_time
,
last_pkt_correct_time
+
delta
,
delta
);
...
...
请
注册
或
登录
后发表评论