mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #134, not fix for the shrink to clear the queue.
This commit is contained in:
parent
30ebba0673
commit
b10d95205a
1 changed files with 3 additions and 1 deletions
|
@ -244,7 +244,9 @@ void SrsMessageQueue::shrink()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// no iframe, clear the queue.
|
// no iframe, for audio, clear the queue.
|
||||||
|
// it is ok to clear for audio, for the shrink tell us the queue is full.
|
||||||
|
// @see: https://github.com/winlinvip/simple-rtmp-server/issues/134
|
||||||
if (iframe_index < 0) {
|
if (iframe_index < 0) {
|
||||||
clear();
|
clear();
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue