mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-19 14:52:20 +08:00
nack/rtx支持多次重传,提高抗丢包率
This commit is contained in:
@@ -194,9 +194,13 @@ vector<bool> FCI_NACK::getBitArray() const {
|
||||
|
||||
string FCI_NACK::dumpString() const {
|
||||
_StrPrinter printer;
|
||||
printer << "pid:" << getPid() << ",blp:" << getBlp() << ",bit array:";
|
||||
auto pid = getPid();
|
||||
printer << "pid:" << pid << ",blp:" << getBlp() << ",dropped rtp seq:";
|
||||
for (auto flag : getBitArray()) {
|
||||
printer << flag << " ";
|
||||
if (flag) {
|
||||
printer << pid << " ";
|
||||
}
|
||||
++pid;
|
||||
}
|
||||
return std::move(printer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user