mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-20 23:32:22 +08:00
nack/rtx支持多次重传,提高抗丢包率
This commit is contained in:
@@ -74,7 +74,6 @@ public:
|
||||
*/
|
||||
uint32_t getRtt(uint32_t ssrc) const;
|
||||
|
||||
private:
|
||||
/**
|
||||
* 上次结果与本次结果间应收包数
|
||||
*/
|
||||
|
||||
@@ -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