[fix] fix pacer rate setting

This commit is contained in:
dijunkun
2025-03-20 15:17:42 +08:00
parent b50175f943
commit 7def8a9568
7 changed files with 40 additions and 29 deletions

View File

@@ -60,7 +60,6 @@ class PacketSenderImp : public PacketSender,
}
packet->UpdateSequenceNumber(ssrc_seq_[packet->Ssrc()]++);
on_sent_packet_func_(*packet);
}
}
@@ -218,6 +217,7 @@ class PacketSenderImp : public PacketSender,
std::map<int32_t, int16_t> ssrc_seq_;
webrtc::Timestamp last_send_time_;
webrtc::Timestamp last_call_time_;
};
#endif