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-07-26 16:35:12 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fbddfbc8a3df7e87d5dc5f9c57e2f81f49b7a149
fbddfbc8
1 parent
b10d9520
fix #134, not fix for the shrink to clear the queue.
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
trunk/src/app/srs_app_source.cpp
trunk/src/app/srs_app_source.cpp
查看文件 @
fbddfbc
...
...
@@ -246,6 +246,8 @@ void SrsMessageQueue::shrink()
// no iframe, for audio, clear the queue.
// it is ok to clear for audio, for the shrink tell us the queue is full.
// for video, we clear util the I-Frame, for the decoding must start from I-frame,
// for audio, it's ok to clear any data, also we can clear the whole queue.
// @see: https://github.com/winlinvip/simple-rtmp-server/issues/134
if
(
iframe_index
<
0
)
{
clear
();
...
...
请
注册
或
登录
后发表评论