mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 12:45:35 +08:00
[fix] fix padding packets building
This commit is contained in:
@@ -412,7 +412,6 @@ void PacingController::ProcessPackets() {
|
||||
PacedPacketInfo pacing_info;
|
||||
DataSize recommended_probe_size = DataSize::Zero();
|
||||
bool is_probing = prober_.is_probing();
|
||||
LOG_WARN("is probing");
|
||||
if (is_probing) {
|
||||
// Probe timing is sensitive, and handled explicitly by BitrateProber, so
|
||||
// use actual send time rather than target.
|
||||
@@ -474,7 +473,7 @@ void PacingController::ProcessPackets() {
|
||||
transport_overhead_per_packet_;
|
||||
}
|
||||
|
||||
LOG_ERROR("Send packet_size {}", rtp_packet->Size());
|
||||
// LOG_ERROR("Send packet_size {}", rtp_packet->Size());
|
||||
packet_sender_->SendPacket(std::move(rtp_packet), pacing_info);
|
||||
for (auto& packet : packet_sender_->FetchFec()) {
|
||||
EnqueuePacket(std::move(packet));
|
||||
|
||||
Reference in New Issue
Block a user