Wire up new PacedSender code path.
This CL makes the new code path for paced sending functionally complete. By default, the field trial WebRTC-Pacer-ReferencePackets is Enabled, meaning that there is no behavior change unless the field trial is forced to Disabled. This is done in tests, and can be done on the command line for manual testing. Bug: webrtc:10633 Change-Id: I0d66c94ef83b5847dee437a785018f09ba3f828d Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/144050 Commit-Queue: Erik Språng <sprang@webrtc.org> Reviewed-by: Åsa Persson <asapersson@webrtc.org> Reviewed-by: Sebastian Jansson <srte@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28497}
This commit is contained in:
@ -65,7 +65,8 @@ class PacketRouter : public TransportSequenceNumberAllocator,
|
||||
virtual size_t TimeToSendPadding(size_t bytes,
|
||||
const PacedPacketInfo& packet_info);
|
||||
|
||||
virtual void GeneratePadding(size_t target_size_bytes);
|
||||
virtual std::vector<std::unique_ptr<RtpPacketToSend>> GeneratePadding(
|
||||
size_t target_size_bytes);
|
||||
|
||||
void SetTransportWideSequenceNumber(uint16_t sequence_number);
|
||||
uint16_t AllocateSequenceNumber() override;
|
||||
|
||||
Reference in New Issue
Block a user