修复编译问题

This commit is contained in:
xia-chu 2021-04-26 20:29:06 +08:00
parent cf520491fa
commit aa54adb1ab
2 changed files with 1 additions and 3 deletions

View File

@ -192,7 +192,7 @@ vector<bool> FCI_NACK::getBitArray() const {
string FCI_NACK::dumpString() const {
_StrPrinter printer;
printer << "pid:" << getPid() << ",blp:";
for (auto &flag : getBitArray()) {
for (auto flag : getBitArray()) {
printer << flag << " ";
}
return std::move(printer);

View File

@ -501,8 +501,6 @@ private:
function<void(const RtpPacket::Ptr &rtp)> _on_before_sort;
};
#include "RTCP/RtcpFCI.h"
void WebRtcTransportImp::onRtcp(const char *buf, size_t len) {
_bytes_usage += len;
auto rtcps = RtcpHeader::loadFromBytes((char *) buf, len);