mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Squash: Fix bugs
This commit is contained in:
parent
8576fa7052
commit
f05e67e1a6
10 changed files with 47 additions and 12 deletions
|
@ -1348,7 +1348,10 @@ srs_error_t SrsRtcpNack::encode(SrsBuffer *buffer)
|
|||
} else if( (sn - pid) > 16) {
|
||||
// add new chunk
|
||||
chunks.push_back(chunk);
|
||||
chunk.in_use = false;
|
||||
chunk.pid = sn;
|
||||
chunk.blp = 0;
|
||||
chunk.in_use = true;
|
||||
pid = sn;
|
||||
} else {
|
||||
chunk.blp |= 1 << (sn-pid-1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue