pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license |
| 5 | * that can be found in the LICENSE file in the root of the source |
| 6 | * tree. An additional intellectual property rights grant can be found |
| 7 | * in the file PATENTS. All contributing project authors may |
| 8 | * be found in the AUTHORS file in the root of the source tree. |
| 9 | */ |
| 10 | |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 11 | #ifndef MODULES_PACING_PACED_SENDER_H_ |
| 12 | #define MODULES_PACING_PACED_SENDER_H_ |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 13 | |
Yves Gerey | 988cc08 | 2018-10-23 12:03:01 +0200 | [diff] [blame^] | 14 | #include <stddef.h> |
| 15 | #include <stdint.h> |
kwiberg | 22feaa3 | 2016-03-17 09:17:43 -0700 | [diff] [blame] | 16 | #include <memory> |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 17 | |
Danil Chapovalov | 0040b66 | 2018-06-18 10:48:16 +0200 | [diff] [blame] | 18 | #include "absl/types/optional.h" |
Yves Gerey | 988cc08 | 2018-10-23 12:03:01 +0200 | [diff] [blame^] | 19 | #include "api/transport/network_types.h" |
Sebastian Jansson | 0391446 | 2018-10-11 20:22:03 +0200 | [diff] [blame] | 20 | #include "modules/pacing/bitrate_prober.h" |
| 21 | #include "modules/pacing/interval_budget.h" |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 22 | #include "modules/pacing/pacer.h" |
Sebastian Jansson | 60570dc | 2018-09-13 17:11:06 +0200 | [diff] [blame] | 23 | #include "modules/pacing/round_robin_packet_queue.h" |
Yves Gerey | 988cc08 | 2018-10-23 12:03:01 +0200 | [diff] [blame^] | 24 | #include "modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
| 25 | #include "modules/utility/include/process_thread.h" |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 26 | #include "rtc_base/criticalsection.h" |
| 27 | #include "rtc_base/thread_annotations.h" |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 28 | |
| 29 | namespace webrtc { |
Sebastian Jansson | ea86bb7 | 2018-02-14 16:53:38 +0000 | [diff] [blame] | 30 | class AlrDetector; |
Yves Gerey | 988cc08 | 2018-10-23 12:03:01 +0200 | [diff] [blame^] | 31 | class Clock; |
| 32 | class RtcEventLog; |
stefan@webrtc.org | 88e0dda | 2014-07-04 09:20:42 +0000 | [diff] [blame] | 33 | |
gnish | a36165c | 2017-08-20 09:19:58 -0700 | [diff] [blame] | 34 | class PacedSender : public Pacer { |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 35 | public: |
perkj | ec81bcd | 2016-05-11 06:01:13 -0700 | [diff] [blame] | 36 | class PacketSender { |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 37 | public: |
| 38 | // Note: packets sent as a result of a callback should not pass by this |
| 39 | // module again. |
| 40 | // Called when it's time to send a queued packet. |
hclam@chromium.org | 2e402ce | 2013-06-20 20:18:31 +0000 | [diff] [blame] | 41 | // Returns false if packet cannot be sent. |
stefan@webrtc.org | 9b82f5a | 2013-11-13 15:29:21 +0000 | [diff] [blame] | 42 | virtual bool TimeToSendPacket(uint32_t ssrc, |
| 43 | uint16_t sequence_number, |
| 44 | int64_t capture_time_ms, |
philipel | 29dca2c | 2016-05-13 11:13:05 +0200 | [diff] [blame] | 45 | bool retransmission, |
philipel | c7bf32a | 2017-02-17 03:59:43 -0800 | [diff] [blame] | 46 | const PacedPacketInfo& cluster_info) = 0; |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 47 | // Called when it's a good time to send a padding data. |
stefan@webrtc.org | 88e0dda | 2014-07-04 09:20:42 +0000 | [diff] [blame] | 48 | // Returns the number of bytes sent. |
philipel | c7bf32a | 2017-02-17 03:59:43 -0800 | [diff] [blame] | 49 | virtual size_t TimeToSendPadding(size_t bytes, |
| 50 | const PacedPacketInfo& cluster_info) = 0; |
jiayl@webrtc.org | 9fd8d87 | 2014-02-27 22:32:40 +0000 | [diff] [blame] | 51 | |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 52 | protected: |
perkj | ec81bcd | 2016-05-11 06:01:13 -0700 | [diff] [blame] | 53 | virtual ~PacketSender() {} |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 54 | }; |
Sebastian Jansson | 45d9c1d | 2018-03-09 12:48:01 +0100 | [diff] [blame] | 55 | static constexpr int64_t kNoCongestionWindow = -1; |
stefan@webrtc.org | 19a40ff | 2013-11-27 14:16:20 +0000 | [diff] [blame] | 56 | |
sprang | 0a43fef | 2015-11-20 09:00:37 -0800 | [diff] [blame] | 57 | // Expected max pacer delay in ms. If ExpectedQueueTimeMs() is higher than |
| 58 | // this value, the packet producers should wait (eg drop frames rather than |
| 59 | // encoding them). Bitrate sent may temporarily exceed target set by |
| 60 | // UpdateBitrate() so that this limit will be upheld. |
| 61 | static const int64_t kMaxQueueLengthMs; |
Sebastian Jansson | ea86bb7 | 2018-02-14 16:53:38 +0000 | [diff] [blame] | 62 | // Pacing-rate relative to our target send rate. |
| 63 | // Multiplicative factor that is applied to the target bitrate to calculate |
| 64 | // the number of bytes that can be transmitted per interval. |
| 65 | // Increasing this factor will result in lower delays in cases of bitrate |
| 66 | // overshoots from the encoder. |
| 67 | static const float kDefaultPaceMultiplier; |
stefan@webrtc.org | 19a40ff | 2013-11-27 14:16:20 +0000 | [diff] [blame] | 68 | |
philipel | c3b3f7a | 2017-03-29 01:23:13 -0700 | [diff] [blame] | 69 | PacedSender(const Clock* clock, |
| 70 | PacketSender* packet_sender, |
| 71 | RtcEventLog* event_log); |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 72 | |
nisse | 76e62b0 | 2017-05-31 02:24:52 -0700 | [diff] [blame] | 73 | ~PacedSender() override; |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 74 | |
philipel | fd58b61 | 2017-01-04 07:05:25 -0800 | [diff] [blame] | 75 | virtual void CreateProbeCluster(int bitrate_bps); |
philipel | eb680ea | 2016-08-17 11:11:59 +0200 | [diff] [blame] | 76 | |
pwestin@webrtc.org | db41856 | 2013-03-22 23:39:29 +0000 | [diff] [blame] | 77 | // Temporarily pause all sending. |
| 78 | void Pause(); |
| 79 | |
| 80 | // Resume sending packets. |
| 81 | void Resume(); |
| 82 | |
Sebastian Jansson | 45d9c1d | 2018-03-09 12:48:01 +0100 | [diff] [blame] | 83 | void SetCongestionWindow(int64_t congestion_window_bytes); |
| 84 | void UpdateOutstandingData(int64_t outstanding_bytes); |
| 85 | |
stefan@webrtc.org | e9f0f59 | 2015-02-16 15:47:51 +0000 | [diff] [blame] | 86 | // Enable bitrate probing. Enabled by default, mostly here to simplify |
| 87 | // testing. Must be called before any packets are being sent to have an |
| 88 | // effect. |
| 89 | void SetProbingEnabled(bool enabled); |
| 90 | |
Sebastian Jansson | 439f0bc | 2018-02-20 10:46:39 +0100 | [diff] [blame] | 91 | // Deprecated, SetPacingRates should be used instead. |
Sebastian Jansson | ea86bb7 | 2018-02-14 16:53:38 +0000 | [diff] [blame] | 92 | void SetEstimatedBitrate(uint32_t bitrate_bps) override; |
Sebastian Jansson | 439f0bc | 2018-02-20 10:46:39 +0100 | [diff] [blame] | 93 | // Deprecated, SetPacingRates should be used instead. |
Sebastian Jansson | ea86bb7 | 2018-02-14 16:53:38 +0000 | [diff] [blame] | 94 | void SetSendBitrateLimits(int min_send_bitrate_bps, |
| 95 | int max_padding_bitrate_bps); |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 96 | |
Sebastian Jansson | 439f0bc | 2018-02-20 10:46:39 +0100 | [diff] [blame] | 97 | // Sets the pacing rates. Must be called once before packets can be sent. |
| 98 | void SetPacingRates(uint32_t pacing_rate_bps, |
| 99 | uint32_t padding_rate_bps) override; |
| 100 | |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 101 | // Returns true if we send the packet now, else it will add the packet |
| 102 | // information to the queue and call TimeToSendPacket when it's time to send. |
Peter Boström | e23e737 | 2015-10-08 11:44:14 +0200 | [diff] [blame] | 103 | void InsertPacket(RtpPacketSender::Priority priority, |
| 104 | uint32_t ssrc, |
| 105 | uint16_t sequence_number, |
| 106 | int64_t capture_time_ms, |
| 107 | size_t bytes, |
| 108 | bool retransmission) override; |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 109 | |
Alex Narest | 78609d5 | 2017-10-20 10:37:47 +0200 | [diff] [blame] | 110 | // Currently audio traffic is not accounted by pacer and passed through. |
| 111 | // With the introduction of audio BWE audio traffic will be accounted for |
| 112 | // the pacer budget calculation. The audio traffic still will be injected |
| 113 | // at high priority. |
| 114 | void SetAccountForAudioPackets(bool account_for_audio) override; |
| 115 | |
stefan@webrtc.org | dd393e7 | 2013-12-13 22:03:27 +0000 | [diff] [blame] | 116 | // Returns the time since the oldest queued packet was enqueued. |
pkasting@chromium.org | 0b1534c | 2014-12-15 22:09:40 +0000 | [diff] [blame] | 117 | virtual int64_t QueueInMs() const; |
stefan@webrtc.org | bfacda6 | 2013-03-27 16:36:01 +0000 | [diff] [blame] | 118 | |
stefan@webrtc.org | 82462aa | 2014-10-23 11:57:05 +0000 | [diff] [blame] | 119 | virtual size_t QueueSizePackets() const; |
| 120 | |
asapersson | fc5e81c | 2017-04-19 23:28:53 -0700 | [diff] [blame] | 121 | // Returns the time when the first packet was sent, or -1 if no packet is |
| 122 | // sent. |
| 123 | virtual int64_t FirstSentPacketTimeMs() const; |
| 124 | |
sprang@webrtc.org | dcebf2d | 2014-11-04 16:27:16 +0000 | [diff] [blame] | 125 | // Returns the number of milliseconds it will take to send the current |
| 126 | // packets in the queue, given the current size and bitrate, ignoring prio. |
pkasting@chromium.org | 2656bf8 | 2014-11-17 22:21:14 +0000 | [diff] [blame] | 127 | virtual int64_t ExpectedQueueTimeMs() const; |
sprang@webrtc.org | dcebf2d | 2014-11-04 16:27:16 +0000 | [diff] [blame] | 128 | |
Sebastian Jansson | 439f0bc | 2018-02-20 10:46:39 +0100 | [diff] [blame] | 129 | // Deprecated, alr detection will be moved out of the pacer. |
Danil Chapovalov | 0040b66 | 2018-06-18 10:48:16 +0200 | [diff] [blame] | 130 | virtual absl::optional<int64_t> GetApplicationLimitedRegionStartTime() const; |
Sebastian Jansson | ea86bb7 | 2018-02-14 16:53:38 +0000 | [diff] [blame] | 131 | |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 132 | // Returns the number of milliseconds until the module want a worker thread |
| 133 | // to call Process. |
kjellander@webrtc.org | 14665ff | 2015-03-04 12:58:35 +0000 | [diff] [blame] | 134 | int64_t TimeUntilNextProcess() override; |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 135 | |
| 136 | // Process any pending packets in the queue(s). |
pbos | a26ac92 | 2016-02-25 04:50:01 -0800 | [diff] [blame] | 137 | void Process() override; |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 138 | |
tommi | 919dce2 | 2017-03-15 07:45:36 -0700 | [diff] [blame] | 139 | // Called when the prober is associated with a process thread. |
| 140 | void ProcessThreadAttached(ProcessThread* process_thread) override; |
Sebastian Jansson | 439f0bc | 2018-02-20 10:46:39 +0100 | [diff] [blame] | 141 | // Deprecated, SetPacingRates should be used instead. |
Sebastian Jansson | ea86bb7 | 2018-02-14 16:53:38 +0000 | [diff] [blame] | 142 | void SetPacingFactor(float pacing_factor); |
sprang | 89c4a7e | 2017-06-30 13:27:40 -0700 | [diff] [blame] | 143 | void SetQueueTimeLimit(int limit_ms); |
| 144 | |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 145 | private: |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 146 | // Updates the number of bytes that can be sent for the next time interval. |
isheriff | 3168781 | 2016-10-04 08:43:09 -0700 | [diff] [blame] | 147 | void UpdateBudgetWithElapsedTime(int64_t delta_time_in_ms) |
danilchap | 56359be | 2017-09-07 07:53:45 -0700 | [diff] [blame] | 148 | RTC_EXCLUSIVE_LOCKS_REQUIRED(critsect_); |
isheriff | 3168781 | 2016-10-04 08:43:09 -0700 | [diff] [blame] | 149 | void UpdateBudgetWithBytesSent(size_t bytes) |
danilchap | 56359be | 2017-09-07 07:53:45 -0700 | [diff] [blame] | 150 | RTC_EXCLUSIVE_LOCKS_REQUIRED(critsect_); |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 151 | |
Sebastian Jansson | 60570dc | 2018-09-13 17:11:06 +0200 | [diff] [blame] | 152 | bool SendPacket(const RoundRobinPacketQueue::Packet& packet, |
philipel | c7bf32a | 2017-02-17 03:59:43 -0800 | [diff] [blame] | 153 | const PacedPacketInfo& cluster_info) |
danilchap | 56359be | 2017-09-07 07:53:45 -0700 | [diff] [blame] | 154 | RTC_EXCLUSIVE_LOCKS_REQUIRED(critsect_); |
philipel | c7bf32a | 2017-02-17 03:59:43 -0800 | [diff] [blame] | 155 | size_t SendPadding(size_t padding_needed, const PacedPacketInfo& cluster_info) |
danilchap | 56359be | 2017-09-07 07:53:45 -0700 | [diff] [blame] | 156 | RTC_EXCLUSIVE_LOCKS_REQUIRED(critsect_); |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 157 | |
Sebastian Jansson | 45d9c1d | 2018-03-09 12:48:01 +0100 | [diff] [blame] | 158 | void OnBytesSent(size_t bytes_sent) RTC_EXCLUSIVE_LOCKS_REQUIRED(critsect_); |
| 159 | bool Congested() const RTC_EXCLUSIVE_LOCKS_REQUIRED(critsect_); |
Erik Språng | 9681675 | 2018-09-04 18:40:19 +0200 | [diff] [blame] | 160 | int64_t TimeMilliseconds() const RTC_EXCLUSIVE_LOCKS_REQUIRED(critsect_); |
Sebastian Jansson | 45d9c1d | 2018-03-09 12:48:01 +0100 | [diff] [blame] | 161 | |
elad.alon | 61ce37e | 2017-03-09 07:09:31 -0800 | [diff] [blame] | 162 | const Clock* const clock_; |
perkj | ec81bcd | 2016-05-11 06:01:13 -0700 | [diff] [blame] | 163 | PacketSender* const packet_sender_; |
Sebastian Jansson | ea86bb7 | 2018-02-14 16:53:38 +0000 | [diff] [blame] | 164 | const std::unique_ptr<AlrDetector> alr_detector_ RTC_PT_GUARDED_BY(critsect_); |
Sebastian Jansson | 0601d68 | 2018-06-25 19:23:05 +0200 | [diff] [blame] | 165 | |
| 166 | const bool drain_large_queues_; |
Sebastian Jansson | c235a8d | 2018-06-15 14:46:11 +0200 | [diff] [blame] | 167 | const bool send_padding_if_silent_; |
Sebastian Jansson | ce4829a | 2018-06-15 14:47:35 +0200 | [diff] [blame] | 168 | const bool video_blocks_audio_; |
Erik Språng | 9681675 | 2018-09-04 18:40:19 +0200 | [diff] [blame] | 169 | |
kthelgason | 6bfe49c | 2017-03-30 01:14:41 -0700 | [diff] [blame] | 170 | rtc::CriticalSection critsect_; |
Erik Språng | 9681675 | 2018-09-04 18:40:19 +0200 | [diff] [blame] | 171 | // TODO(webrtc:9716): Remove this when we are certain clocks are monotonic. |
| 172 | // The last millisecond timestamp returned by |clock_|. |
| 173 | mutable int64_t last_timestamp_ms_ RTC_GUARDED_BY(critsect_); |
danilchap | 56359be | 2017-09-07 07:53:45 -0700 | [diff] [blame] | 174 | bool paused_ RTC_GUARDED_BY(critsect_); |
stefan@webrtc.org | c3cc375 | 2013-06-04 09:36:56 +0000 | [diff] [blame] | 175 | // This is the media budget, keeping track of how many bits of media |
| 176 | // we can pace out during the current interval. |
Sebastian Jansson | 0391446 | 2018-10-11 20:22:03 +0200 | [diff] [blame] | 177 | IntervalBudget media_budget_ RTC_GUARDED_BY(critsect_); |
stefan@webrtc.org | c3cc375 | 2013-06-04 09:36:56 +0000 | [diff] [blame] | 178 | // This is the padding budget, keeping track of how many bits of padding we're |
pbos@webrtc.org | 709e297 | 2014-03-19 10:59:52 +0000 | [diff] [blame] | 179 | // allowed to send out during the current interval. This budget will be |
| 180 | // utilized when there's no media to send. |
Sebastian Jansson | 0391446 | 2018-10-11 20:22:03 +0200 | [diff] [blame] | 181 | IntervalBudget padding_budget_ RTC_GUARDED_BY(critsect_); |
stefan@webrtc.org | c3cc375 | 2013-06-04 09:36:56 +0000 | [diff] [blame] | 182 | |
Sebastian Jansson | 0391446 | 2018-10-11 20:22:03 +0200 | [diff] [blame] | 183 | BitrateProber prober_ RTC_GUARDED_BY(critsect_); |
Elad Alon | 44b1fa4 | 2017-10-17 14:17:54 +0200 | [diff] [blame] | 184 | bool probing_send_failure_ RTC_GUARDED_BY(critsect_); |
sprang | 0a43fef | 2015-11-20 09:00:37 -0800 | [diff] [blame] | 185 | // Actual configured bitrates (media_budget_ may temporarily be higher in |
| 186 | // order to meet pace time constraint). |
Sebastian Jansson | ea86bb7 | 2018-02-14 16:53:38 +0000 | [diff] [blame] | 187 | uint32_t estimated_bitrate_bps_ RTC_GUARDED_BY(critsect_); |
| 188 | uint32_t min_send_bitrate_kbps_ RTC_GUARDED_BY(critsect_); |
| 189 | uint32_t max_padding_bitrate_kbps_ RTC_GUARDED_BY(critsect_); |
danilchap | 56359be | 2017-09-07 07:53:45 -0700 | [diff] [blame] | 190 | uint32_t pacing_bitrate_kbps_ RTC_GUARDED_BY(critsect_); |
stefan@webrtc.org | 82462aa | 2014-10-23 11:57:05 +0000 | [diff] [blame] | 191 | |
Sebastian Jansson | a1630f8 | 2018-02-21 13:39:26 +0100 | [diff] [blame] | 192 | int64_t time_last_process_us_ RTC_GUARDED_BY(critsect_); |
| 193 | int64_t last_send_time_us_ RTC_GUARDED_BY(critsect_); |
danilchap | 56359be | 2017-09-07 07:53:45 -0700 | [diff] [blame] | 194 | int64_t first_sent_packet_ms_ RTC_GUARDED_BY(critsect_); |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 195 | |
Sebastian Jansson | 60570dc | 2018-09-13 17:11:06 +0200 | [diff] [blame] | 196 | RoundRobinPacketQueue packets_ RTC_GUARDED_BY(critsect_); |
Elad Alon | 44b1fa4 | 2017-10-17 14:17:54 +0200 | [diff] [blame] | 197 | uint64_t packet_counter_ RTC_GUARDED_BY(critsect_); |
sprang | 89c4a7e | 2017-06-30 13:27:40 -0700 | [diff] [blame] | 198 | |
Sebastian Jansson | 45d9c1d | 2018-03-09 12:48:01 +0100 | [diff] [blame] | 199 | int64_t congestion_window_bytes_ RTC_GUARDED_BY(critsect_) = |
| 200 | kNoCongestionWindow; |
| 201 | int64_t outstanding_bytes_ RTC_GUARDED_BY(critsect_) = 0; |
Sebastian Jansson | ea86bb7 | 2018-02-14 16:53:38 +0000 | [diff] [blame] | 202 | float pacing_factor_ RTC_GUARDED_BY(critsect_); |
Sebastian Jansson | 439f0bc | 2018-02-20 10:46:39 +0100 | [diff] [blame] | 203 | // Lock to avoid race when attaching process thread. This can happen due to |
| 204 | // the Call class setting network state on SendSideCongestionController, which |
| 205 | // in turn calls Pause/Resume on Pacedsender, before actually starting the |
| 206 | // pacer process thread. If SendSideCongestionController is running on a task |
| 207 | // queue separate from the thread used by Call, this causes a race. |
| 208 | rtc::CriticalSection process_thread_lock_; |
| 209 | ProcessThread* process_thread_ RTC_GUARDED_BY(process_thread_lock_) = nullptr; |
| 210 | |
danilchap | 56359be | 2017-09-07 07:53:45 -0700 | [diff] [blame] | 211 | int64_t queue_time_limit RTC_GUARDED_BY(critsect_); |
Alex Narest | 78609d5 | 2017-10-20 10:37:47 +0200 | [diff] [blame] | 212 | bool account_for_audio_ RTC_GUARDED_BY(critsect_); |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 213 | }; |
| 214 | } // namespace webrtc |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 215 | #endif // MODULES_PACING_PACED_SENDER_H_ |