Markus Handell c8c4a282a6 Introduce support for video packet batching.
This CL introduces a new feature enabling video packet send batches.
The feature is enabled via
PeerConnectionInterface
::RTCConfiguration
::MediaConfig
::enable_send_packet_batching.

PacketOptions have been augmented with attribute "batchable" (set for
all video packets) and attribute "last_packet_in_batch" which gives
injected AsyncPacketSockets a chance to understand when a batch begins
and ends.

When the feature is on, packets are collected in RtpSenderEgress. On
reception of OnBatchComplete from PacingController, RtpSenderEgress
sends the collected batch, setting "last_packet_in_batch" to true
in the last packet.

Bug: chromium:1439830
Change-Id: I1846b9d4a8a0efd227d617691213a2e048bdc8a2
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/303720
Commit-Queue: Markus Handell <handellm@webrtc.org>
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#40012}
2023-05-08 16:24:03 +00:00
..
2023-04-21 06:17:42 +00:00
2023-04-21 06:17:42 +00:00
2023-04-21 06:17:42 +00:00
2023-04-21 06:17:42 +00:00
2023-04-21 06:17:42 +00:00
2023-04-21 06:17:42 +00:00
2023-04-21 06:17:42 +00:00
2023-04-21 06:17:42 +00:00
2019-07-08 13:45:15 +00:00
2023-04-21 06:17:42 +00:00
2023-04-21 06:17:42 +00:00
2023-04-21 06:17:42 +00:00
2022-08-19 07:11:06 +00:00
2019-07-08 13:45:15 +00:00
2022-06-07 07:14:06 +00:00
2019-07-08 13:45:15 +00:00
2023-04-21 06:17:42 +00:00
2023-04-21 06:17:42 +00:00
2022-09-30 12:01:28 +00:00
2022-01-28 15:13:45 +00:00
2023-04-21 06:17:42 +00:00
2023-04-21 06:17:42 +00:00
2021-08-31 14:27:49 +00:00
2019-07-08 13:45:15 +00:00
2023-04-21 06:17:42 +00:00
2023-04-21 06:17:42 +00:00
2019-11-26 14:05:20 +00:00
2019-07-08 13:45:15 +00:00
2022-10-08 08:38:36 +00:00
2023-04-21 06:17:42 +00:00
2021-09-21 15:17:26 +00:00
2023-04-21 06:17:42 +00:00
2023-04-21 06:17:42 +00:00
2019-07-08 13:45:15 +00:00
2023-04-21 06:17:42 +00:00
2021-10-13 19:26:10 +00:00
2019-07-08 13:45:15 +00:00