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> |
Jonas Olsson | a4d8737 | 2019-07-05 19:08:33 +0200 | [diff] [blame] | 16 | |
Christoffer Rodbro | c610e26 | 2019-01-08 10:49:19 +0100 | [diff] [blame] | 17 | #include <atomic> |
kwiberg | 22feaa3 | 2016-03-17 09:17:43 -0700 | [diff] [blame] | 18 | #include <memory> |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 19 | |
Danil Chapovalov | 0040b66 | 2018-06-18 10:48:16 +0200 | [diff] [blame] | 20 | #include "absl/types/optional.h" |
Erik Språng | f6468d2 | 2019-07-05 16:53:43 +0200 | [diff] [blame] | 21 | #include "api/function_view.h" |
Per Kjellander | 7ef34f8 | 2019-02-22 13:09:32 +0100 | [diff] [blame] | 22 | #include "api/transport/field_trial_based_config.h" |
Yves Gerey | 988cc08 | 2018-10-23 12:03:01 +0200 | [diff] [blame] | 23 | #include "api/transport/network_types.h" |
Per Kjellander | 7ef34f8 | 2019-02-22 13:09:32 +0100 | [diff] [blame] | 24 | #include "api/transport/webrtc_key_value_config.h" |
Sebastian Jansson | 4ad51d8 | 2019-06-11 11:24:40 +0200 | [diff] [blame] | 25 | #include "modules/include/module.h" |
Sebastian Jansson | 0391446 | 2018-10-11 20:22:03 +0200 | [diff] [blame] | 26 | #include "modules/pacing/bitrate_prober.h" |
| 27 | #include "modules/pacing/interval_budget.h" |
Erik Språng | e794243 | 2019-06-12 13:30:02 +0200 | [diff] [blame] | 28 | #include "modules/pacing/packet_router.h" |
Sebastian Jansson | 60570dc | 2018-09-13 17:11:06 +0200 | [diff] [blame] | 29 | #include "modules/pacing/round_robin_packet_queue.h" |
Erik Språng | aa59eca | 2019-07-24 14:52:55 +0200 | [diff] [blame^] | 30 | #include "modules/rtp_rtcp/include/rtp_packet_sender.h" |
Erik Språng | 58ee187 | 2019-06-18 16:20:11 +0200 | [diff] [blame] | 31 | #include "modules/rtp_rtcp/source/rtp_packet_to_send.h" |
Yves Gerey | 988cc08 | 2018-10-23 12:03:01 +0200 | [diff] [blame] | 32 | #include "modules/utility/include/process_thread.h" |
Steve Anton | 10542f2 | 2019-01-11 09:11:00 -0800 | [diff] [blame] | 33 | #include "rtc_base/critical_section.h" |
Christoffer Rodbro | e2e0000 | 2018-12-20 15:46:03 +0100 | [diff] [blame] | 34 | #include "rtc_base/experiments/field_trial_parser.h" |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 35 | #include "rtc_base/thread_annotations.h" |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 36 | |
| 37 | namespace webrtc { |
Yves Gerey | 988cc08 | 2018-10-23 12:03:01 +0200 | [diff] [blame] | 38 | class Clock; |
| 39 | class RtcEventLog; |
stefan@webrtc.org | 88e0dda | 2014-07-04 09:20:42 +0000 | [diff] [blame] | 40 | |
Erik Språng | aa59eca | 2019-07-24 14:52:55 +0200 | [diff] [blame^] | 41 | class PacedSender : public Module, public RtpPacketSender { |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 42 | public: |
Sebastian Jansson | 45d9c1d | 2018-03-09 12:48:01 +0100 | [diff] [blame] | 43 | static constexpr int64_t kNoCongestionWindow = -1; |
stefan@webrtc.org | 19a40ff | 2013-11-27 14:16:20 +0000 | [diff] [blame] | 44 | |
sprang | 0a43fef | 2015-11-20 09:00:37 -0800 | [diff] [blame] | 45 | // Expected max pacer delay in ms. If ExpectedQueueTimeMs() is higher than |
| 46 | // this value, the packet producers should wait (eg drop frames rather than |
| 47 | // encoding them). Bitrate sent may temporarily exceed target set by |
| 48 | // UpdateBitrate() so that this limit will be upheld. |
| 49 | static const int64_t kMaxQueueLengthMs; |
Sebastian Jansson | ea86bb7 | 2018-02-14 16:53:38 +0000 | [diff] [blame] | 50 | // Pacing-rate relative to our target send rate. |
| 51 | // Multiplicative factor that is applied to the target bitrate to calculate |
| 52 | // the number of bytes that can be transmitted per interval. |
| 53 | // Increasing this factor will result in lower delays in cases of bitrate |
| 54 | // overshoots from the encoder. |
| 55 | static const float kDefaultPaceMultiplier; |
stefan@webrtc.org | 19a40ff | 2013-11-27 14:16:20 +0000 | [diff] [blame] | 56 | |
Sebastian Jansson | aa01f27 | 2019-01-30 11:28:59 +0100 | [diff] [blame] | 57 | PacedSender(Clock* clock, |
Erik Språng | e794243 | 2019-06-12 13:30:02 +0200 | [diff] [blame] | 58 | PacketRouter* packet_router, |
Per Kjellander | 7ef34f8 | 2019-02-22 13:09:32 +0100 | [diff] [blame] | 59 | RtcEventLog* event_log, |
| 60 | const WebRtcKeyValueConfig* field_trials = nullptr); |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 61 | |
nisse | 76e62b0 | 2017-05-31 02:24:52 -0700 | [diff] [blame] | 62 | ~PacedSender() override; |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 63 | |
Piotr (Peter) Slatala | c39f462 | 2019-02-15 07:38:04 -0800 | [diff] [blame] | 64 | virtual void CreateProbeCluster(int bitrate_bps, int cluster_id); |
philipel | eb680ea | 2016-08-17 11:11:59 +0200 | [diff] [blame] | 65 | |
pwestin@webrtc.org | db41856 | 2013-03-22 23:39:29 +0000 | [diff] [blame] | 66 | // Temporarily pause all sending. |
| 67 | void Pause(); |
| 68 | |
| 69 | // Resume sending packets. |
| 70 | void Resume(); |
| 71 | |
Sebastian Jansson | 45d9c1d | 2018-03-09 12:48:01 +0100 | [diff] [blame] | 72 | void SetCongestionWindow(int64_t congestion_window_bytes); |
| 73 | void UpdateOutstandingData(int64_t outstanding_bytes); |
| 74 | |
stefan@webrtc.org | e9f0f59 | 2015-02-16 15:47:51 +0000 | [diff] [blame] | 75 | // Enable bitrate probing. Enabled by default, mostly here to simplify |
| 76 | // testing. Must be called before any packets are being sent to have an |
| 77 | // effect. |
| 78 | void SetProbingEnabled(bool enabled); |
| 79 | |
Sebastian Jansson | 439f0bc | 2018-02-20 10:46:39 +0100 | [diff] [blame] | 80 | // Sets the pacing rates. Must be called once before packets can be sent. |
Sebastian Jansson | 4ad51d8 | 2019-06-11 11:24:40 +0200 | [diff] [blame] | 81 | void SetPacingRates(uint32_t pacing_rate_bps, uint32_t padding_rate_bps); |
Sebastian Jansson | 439f0bc | 2018-02-20 10:46:39 +0100 | [diff] [blame] | 82 | |
Erik Språng | 58ee187 | 2019-06-18 16:20:11 +0200 | [diff] [blame] | 83 | // Adds the packet information to the queue and calls TimeToSendPacket |
| 84 | // when it's time to send. |
Peter Boström | e23e737 | 2015-10-08 11:44:14 +0200 | [diff] [blame] | 85 | void InsertPacket(RtpPacketSender::Priority priority, |
| 86 | uint32_t ssrc, |
| 87 | uint16_t sequence_number, |
| 88 | int64_t capture_time_ms, |
| 89 | size_t bytes, |
| 90 | bool retransmission) override; |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 91 | |
Erik Språng | 58ee187 | 2019-06-18 16:20:11 +0200 | [diff] [blame] | 92 | // Adds the packet to the queue and calls PacketRouter::SendPacket() when |
| 93 | // it's time to send. |
| 94 | void EnqueuePacket(std::unique_ptr<RtpPacketToSend> packet) override; |
| 95 | |
Alex Narest | 78609d5 | 2017-10-20 10:37:47 +0200 | [diff] [blame] | 96 | // Currently audio traffic is not accounted by pacer and passed through. |
| 97 | // With the introduction of audio BWE audio traffic will be accounted for |
| 98 | // the pacer budget calculation. The audio traffic still will be injected |
| 99 | // at high priority. |
Erik Språng | aa59eca | 2019-07-24 14:52:55 +0200 | [diff] [blame^] | 100 | void SetAccountForAudioPackets(bool account_for_audio); |
Alex Narest | 78609d5 | 2017-10-20 10:37:47 +0200 | [diff] [blame] | 101 | |
stefan@webrtc.org | dd393e7 | 2013-12-13 22:03:27 +0000 | [diff] [blame] | 102 | // Returns the time since the oldest queued packet was enqueued. |
pkasting@chromium.org | 0b1534c | 2014-12-15 22:09:40 +0000 | [diff] [blame] | 103 | virtual int64_t QueueInMs() const; |
stefan@webrtc.org | bfacda6 | 2013-03-27 16:36:01 +0000 | [diff] [blame] | 104 | |
stefan@webrtc.org | 82462aa | 2014-10-23 11:57:05 +0000 | [diff] [blame] | 105 | virtual size_t QueueSizePackets() const; |
Christoffer Rodbro | c610e26 | 2019-01-08 10:49:19 +0100 | [diff] [blame] | 106 | virtual int64_t QueueSizeBytes() const; |
stefan@webrtc.org | 82462aa | 2014-10-23 11:57:05 +0000 | [diff] [blame] | 107 | |
asapersson | fc5e81c | 2017-04-19 23:28:53 -0700 | [diff] [blame] | 108 | // Returns the time when the first packet was sent, or -1 if no packet is |
| 109 | // sent. |
| 110 | virtual int64_t FirstSentPacketTimeMs() const; |
| 111 | |
sprang@webrtc.org | dcebf2d | 2014-11-04 16:27:16 +0000 | [diff] [blame] | 112 | // Returns the number of milliseconds it will take to send the current |
| 113 | // 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] | 114 | virtual int64_t ExpectedQueueTimeMs() const; |
sprang@webrtc.org | dcebf2d | 2014-11-04 16:27:16 +0000 | [diff] [blame] | 115 | |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 116 | // Returns the number of milliseconds until the module want a worker thread |
| 117 | // to call Process. |
kjellander@webrtc.org | 14665ff | 2015-03-04 12:58:35 +0000 | [diff] [blame] | 118 | int64_t TimeUntilNextProcess() override; |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 119 | |
| 120 | // Process any pending packets in the queue(s). |
pbos | a26ac92 | 2016-02-25 04:50:01 -0800 | [diff] [blame] | 121 | void Process() override; |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 122 | |
tommi | 919dce2 | 2017-03-15 07:45:36 -0700 | [diff] [blame] | 123 | // Called when the prober is associated with a process thread. |
| 124 | void ProcessThreadAttached(ProcessThread* process_thread) override; |
sprang | 89c4a7e | 2017-06-30 13:27:40 -0700 | [diff] [blame] | 125 | void SetQueueTimeLimit(int limit_ms); |
| 126 | |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 127 | private: |
Sebastian Jansson | 916ae08 | 2018-10-26 13:10:23 +0200 | [diff] [blame] | 128 | int64_t UpdateTimeAndGetElapsedMs(int64_t now_us) |
| 129 | RTC_EXCLUSIVE_LOCKS_REQUIRED(critsect_); |
| 130 | bool ShouldSendKeepalive(int64_t at_time_us) const |
| 131 | RTC_EXCLUSIVE_LOCKS_REQUIRED(critsect_); |
| 132 | |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 133 | // 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] | 134 | void UpdateBudgetWithElapsedTime(int64_t delta_time_in_ms) |
danilchap | 56359be | 2017-09-07 07:53:45 -0700 | [diff] [blame] | 135 | RTC_EXCLUSIVE_LOCKS_REQUIRED(critsect_); |
isheriff | 3168781 | 2016-10-04 08:43:09 -0700 | [diff] [blame] | 136 | void UpdateBudgetWithBytesSent(size_t bytes) |
danilchap | 56359be | 2017-09-07 07:53:45 -0700 | [diff] [blame] | 137 | RTC_EXCLUSIVE_LOCKS_REQUIRED(critsect_); |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 138 | |
Erik Språng | f6468d2 | 2019-07-05 16:53:43 +0200 | [diff] [blame] | 139 | size_t PaddingBytesToAdd(absl::optional<size_t> recommended_probe_size, |
| 140 | size_t bytes_sent) |
| 141 | RTC_EXCLUSIVE_LOCKS_REQUIRED(critsect_); |
| 142 | |
Erik Språng | 58ee187 | 2019-06-18 16:20:11 +0200 | [diff] [blame] | 143 | RoundRobinPacketQueue::QueuedPacket* GetPendingPacket( |
Sebastian Jansson | 916ae08 | 2018-10-26 13:10:23 +0200 | [diff] [blame] | 144 | const PacedPacketInfo& pacing_info) |
danilchap | 56359be | 2017-09-07 07:53:45 -0700 | [diff] [blame] | 145 | RTC_EXCLUSIVE_LOCKS_REQUIRED(critsect_); |
Erik Språng | 58ee187 | 2019-06-18 16:20:11 +0200 | [diff] [blame] | 146 | void OnPacketSent(RoundRobinPacketQueue::QueuedPacket* packet) |
Sebastian Jansson | 916ae08 | 2018-10-26 13:10:23 +0200 | [diff] [blame] | 147 | RTC_EXCLUSIVE_LOCKS_REQUIRED(critsect_); |
| 148 | void OnPaddingSent(size_t padding_sent) |
danilchap | 56359be | 2017-09-07 07:53:45 -0700 | [diff] [blame] | 149 | RTC_EXCLUSIVE_LOCKS_REQUIRED(critsect_); |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 150 | |
Sebastian Jansson | 45d9c1d | 2018-03-09 12:48:01 +0100 | [diff] [blame] | 151 | bool Congested() const RTC_EXCLUSIVE_LOCKS_REQUIRED(critsect_); |
Erik Språng | 9681675 | 2018-09-04 18:40:19 +0200 | [diff] [blame] | 152 | int64_t TimeMilliseconds() const RTC_EXCLUSIVE_LOCKS_REQUIRED(critsect_); |
Sebastian Jansson | 45d9c1d | 2018-03-09 12:48:01 +0100 | [diff] [blame] | 153 | |
Sebastian Jansson | aa01f27 | 2019-01-30 11:28:59 +0100 | [diff] [blame] | 154 | Clock* const clock_; |
Erik Språng | e794243 | 2019-06-12 13:30:02 +0200 | [diff] [blame] | 155 | PacketRouter* const packet_router_; |
Per Kjellander | 5b69873 | 2019-04-15 12:36:33 +0200 | [diff] [blame] | 156 | const std::unique_ptr<FieldTrialBasedConfig> fallback_field_trials_; |
| 157 | const WebRtcKeyValueConfig* field_trials_; |
Sebastian Jansson | 0601d68 | 2018-06-25 19:23:05 +0200 | [diff] [blame] | 158 | |
| 159 | const bool drain_large_queues_; |
Sebastian Jansson | c235a8d | 2018-06-15 14:46:11 +0200 | [diff] [blame] | 160 | const bool send_padding_if_silent_; |
Sebastian Jansson | 470a5ea | 2019-01-23 12:37:49 +0100 | [diff] [blame] | 161 | const bool pace_audio_; |
Christoffer Rodbro | e2e0000 | 2018-12-20 15:46:03 +0100 | [diff] [blame] | 162 | FieldTrialParameter<int> min_packet_limit_ms_; |
Erik Språng | 9681675 | 2018-09-04 18:40:19 +0200 | [diff] [blame] | 163 | |
kthelgason | 6bfe49c | 2017-03-30 01:14:41 -0700 | [diff] [blame] | 164 | rtc::CriticalSection critsect_; |
Erik Språng | 9681675 | 2018-09-04 18:40:19 +0200 | [diff] [blame] | 165 | // TODO(webrtc:9716): Remove this when we are certain clocks are monotonic. |
| 166 | // The last millisecond timestamp returned by |clock_|. |
| 167 | mutable int64_t last_timestamp_ms_ RTC_GUARDED_BY(critsect_); |
danilchap | 56359be | 2017-09-07 07:53:45 -0700 | [diff] [blame] | 168 | bool paused_ RTC_GUARDED_BY(critsect_); |
stefan@webrtc.org | c3cc375 | 2013-06-04 09:36:56 +0000 | [diff] [blame] | 169 | // This is the media budget, keeping track of how many bits of media |
| 170 | // we can pace out during the current interval. |
Sebastian Jansson | 0391446 | 2018-10-11 20:22:03 +0200 | [diff] [blame] | 171 | IntervalBudget media_budget_ RTC_GUARDED_BY(critsect_); |
stefan@webrtc.org | c3cc375 | 2013-06-04 09:36:56 +0000 | [diff] [blame] | 172 | // 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] | 173 | // allowed to send out during the current interval. This budget will be |
| 174 | // utilized when there's no media to send. |
Sebastian Jansson | 0391446 | 2018-10-11 20:22:03 +0200 | [diff] [blame] | 175 | IntervalBudget padding_budget_ RTC_GUARDED_BY(critsect_); |
stefan@webrtc.org | c3cc375 | 2013-06-04 09:36:56 +0000 | [diff] [blame] | 176 | |
Sebastian Jansson | 0391446 | 2018-10-11 20:22:03 +0200 | [diff] [blame] | 177 | BitrateProber prober_ RTC_GUARDED_BY(critsect_); |
Elad Alon | 44b1fa4 | 2017-10-17 14:17:54 +0200 | [diff] [blame] | 178 | bool probing_send_failure_ RTC_GUARDED_BY(critsect_); |
Sebastian Jansson | 4ad51d8 | 2019-06-11 11:24:40 +0200 | [diff] [blame] | 179 | |
danilchap | 56359be | 2017-09-07 07:53:45 -0700 | [diff] [blame] | 180 | uint32_t pacing_bitrate_kbps_ RTC_GUARDED_BY(critsect_); |
stefan@webrtc.org | 82462aa | 2014-10-23 11:57:05 +0000 | [diff] [blame] | 181 | |
Sebastian Jansson | a1630f8 | 2018-02-21 13:39:26 +0100 | [diff] [blame] | 182 | int64_t time_last_process_us_ RTC_GUARDED_BY(critsect_); |
| 183 | int64_t last_send_time_us_ RTC_GUARDED_BY(critsect_); |
danilchap | 56359be | 2017-09-07 07:53:45 -0700 | [diff] [blame] | 184 | int64_t first_sent_packet_ms_ RTC_GUARDED_BY(critsect_); |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 185 | |
Sebastian Jansson | 60570dc | 2018-09-13 17:11:06 +0200 | [diff] [blame] | 186 | RoundRobinPacketQueue packets_ RTC_GUARDED_BY(critsect_); |
Elad Alon | 44b1fa4 | 2017-10-17 14:17:54 +0200 | [diff] [blame] | 187 | uint64_t packet_counter_ RTC_GUARDED_BY(critsect_); |
sprang | 89c4a7e | 2017-06-30 13:27:40 -0700 | [diff] [blame] | 188 | |
Sebastian Jansson | 45d9c1d | 2018-03-09 12:48:01 +0100 | [diff] [blame] | 189 | int64_t congestion_window_bytes_ RTC_GUARDED_BY(critsect_) = |
| 190 | kNoCongestionWindow; |
| 191 | int64_t outstanding_bytes_ RTC_GUARDED_BY(critsect_) = 0; |
Sebastian Jansson | 4ad51d8 | 2019-06-11 11:24:40 +0200 | [diff] [blame] | 192 | |
Sebastian Jansson | 439f0bc | 2018-02-20 10:46:39 +0100 | [diff] [blame] | 193 | // Lock to avoid race when attaching process thread. This can happen due to |
Sebastian Jansson | 4ad51d8 | 2019-06-11 11:24:40 +0200 | [diff] [blame] | 194 | // the Call class setting network state on RtpTransportControllerSend, which |
Sebastian Jansson | 439f0bc | 2018-02-20 10:46:39 +0100 | [diff] [blame] | 195 | // in turn calls Pause/Resume on Pacedsender, before actually starting the |
Sebastian Jansson | 4ad51d8 | 2019-06-11 11:24:40 +0200 | [diff] [blame] | 196 | // pacer process thread. If RtpTransportControllerSend is running on a task |
Sebastian Jansson | 439f0bc | 2018-02-20 10:46:39 +0100 | [diff] [blame] | 197 | // queue separate from the thread used by Call, this causes a race. |
| 198 | rtc::CriticalSection process_thread_lock_; |
| 199 | ProcessThread* process_thread_ RTC_GUARDED_BY(process_thread_lock_) = nullptr; |
| 200 | |
danilchap | 56359be | 2017-09-07 07:53:45 -0700 | [diff] [blame] | 201 | int64_t queue_time_limit RTC_GUARDED_BY(critsect_); |
Alex Narest | 78609d5 | 2017-10-20 10:37:47 +0200 | [diff] [blame] | 202 | bool account_for_audio_ RTC_GUARDED_BY(critsect_); |
Erik Språng | f6468d2 | 2019-07-05 16:53:43 +0200 | [diff] [blame] | 203 | |
| 204 | // If true, PacedSender should only reference packets as in legacy mode. |
| 205 | // If false, PacedSender may have direct ownership of RtpPacketToSend objects. |
| 206 | // Defaults to true, will be changed to default false soon. |
| 207 | const bool legacy_packet_referencing_; |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 208 | }; |
| 209 | } // namespace webrtc |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 210 | #endif // MODULES_PACING_PACED_SENDER_H_ |