Index: webrtc/modules/pacing/packet_router.cc |
diff --git a/webrtc/modules/pacing/packet_router.cc b/webrtc/modules/pacing/packet_router.cc |
index de8c2cee5a13c106501ccc4f47e1656866c2c57f..7c8157124e3091b9edf603bdcfb6e4ab2abed7a4 100644 |
--- a/webrtc/modules/pacing/packet_router.cc |
+++ b/webrtc/modules/pacing/packet_router.cc |
@@ -48,7 +48,7 @@ bool PacketRouter::TimeToSendPacket(uint32_t ssrc, |
RTC_DCHECK(pacer_thread_checker_.CalledOnValidThread()); |
rtc::CritScope cs(&modules_crit_); |
for (auto* rtp_module : rtp_modules_) { |
- if (rtp_module->SendingMedia() && ssrc == rtp_module->SSRC()) { |
+ if (ssrc == rtp_module->SSRC() || ssrc == rtp_module->FlexfecSsrc()) { |
brandtr
2016/11/11 10:28:16
Moved this check to RTP module itself.
|
return rtp_module->TimeToSendPacket(ssrc, sequence_number, |
capture_timestamp, retransmission, |
probe_cluster_id); |