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
2017-01-18 11:47:43 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d76419e3bbf918764a3163229c2cccf60081b7dc
d76419e3
1 parent
9c846b33
fix #749, timestamp overflow for ATC. 2.0.230
隐藏空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
13 行增加
和
1 行删除
README.md
trunk/src/app/srs_app_source.cpp
trunk/src/core/srs_core.hpp
README.md
查看文件 @
d76419e
...
...
@@ -345,6 +345,7 @@ Remark:
## History
*
v2.0, 2017-01-18, fix
[
#749
][
bug #749
]
, timestamp overflow for ATC. 2.0.230
*
v2.0, 2017-01-11, fix
[
#740
][
bug #740
]
, convert ts aac audio private stream 1 to common. 2.0.229
*
v2.0, 2017-01-11, fix
[
#588
][
bug #588
]
, kbps interface error. 2.0.228
*
v2.0, 2017-01-11, fix
[
#736
][
bug #736
]
, recovery the hls dispose. 2.0.227
...
...
@@ -1277,6 +1278,7 @@ Winlin
[
bug #736
]:
https://github.com/ossrs/srs/issues/736
[
bug #588
]:
https://github.com/ossrs/srs/issues/588
[
bug #740
]:
https://github.com/ossrs/srs/issues/740
[
bug #749
]:
https://github.com/ossrs/srs/issues/749
[
bug #xxxxxxxxxx
]:
https://github.com/ossrs/srs/issues/xxxxxxxxxx
[
exo #828
]:
https://github.com/google/ExoPlayer/pull/828
...
...
trunk/src/app/srs_app_source.cpp
查看文件 @
d76419e
...
...
@@ -490,10 +490,20 @@ int SrsConsumer::enqueue(SrsSharedPtrMessage* shared_msg, bool atc, SrsRtmpJitte
int
duration_ms
=
queue
->
duration
();
bool
match_min_msgs
=
queue
->
size
()
>
mw_min_msgs
;
// For ATC, maybe the SH timestamp bigger than A/V packet,
// when encoder republish or overflow.
// @see https://github.com/ossrs/srs/pull/749
if
(
atc
&&
duration_ms
<
0
)
{
st_cond_signal
(
mw_wait
);
mw_waiting
=
false
;
return
ret
;
}
// when duration ok, signal to flush.
if
(
match_min_msgs
&&
duration_ms
>
mw_duration
)
{
st_cond_signal
(
mw_wait
);
mw_waiting
=
false
;
return
ret
;
}
}
#endif
...
...
trunk/src/core/srs_core.hpp
查看文件 @
d76419e
...
...
@@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// current release version
#define VERSION_MAJOR 2
#define VERSION_MINOR 0
#define VERSION_REVISION 2
29
#define VERSION_REVISION 2
30
// generated by configure, only macros.
#include <srs_auto_headers.hpp>
...
...
请
注册
或
登录
后发表评论