Jakob Ivarsson 38ddea5ee3 Add InsertPacket method that takes RtpPacketInfo.
The version which only passes receive_time will be removed (once migrated).
Keeping the version that only passes header and payload for convenience.

This will allow us to attach more metadata on the worker thread before InsertPacket, instead of on the playout thread after GetAudio. Eventually, the plan is to split the RTP handling on the worker thread into a separate class.

Bug: webrtc:42223109
Change-Id: I5399b53b9fc5c2f1c996e109054b1b0877ecca05
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/369000
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Commit-Queue: Jakob Ivarsson‎ <jakobi@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#43445}
2024-11-22 17:01:01 +00:00
..
2022-10-08 08:38:36 +00:00
2022-09-09 07:33:11 +00:00