diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:35:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:35:49 +0000 |
commit | d8bbc7858622b6d9c278469aab701ca0b609cddf (patch) | |
tree | eff41dc61d9f714852212739e6b3738b82a2af87 /third_party/libwebrtc/rtc_base/async_udp_socket.h | |
parent | Releasing progress-linux version 125.0.3-1~progress7.99u1. (diff) | |
download | firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.tar.xz firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.zip |
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/libwebrtc/rtc_base/async_udp_socket.h')
-rw-r--r-- | third_party/libwebrtc/rtc_base/async_udp_socket.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/third_party/libwebrtc/rtc_base/async_udp_socket.h b/third_party/libwebrtc/rtc_base/async_udp_socket.h index 4198b25c4d..af361b98ea 100644 --- a/third_party/libwebrtc/rtc_base/async_udp_socket.h +++ b/third_party/libwebrtc/rtc_base/async_udp_socket.h @@ -18,6 +18,7 @@ #include "absl/types/optional.h" #include "api/sequence_checker.h" +#include "api/units/time_delta.h" #include "rtc_base/async_packet_socket.h" #include "rtc_base/socket.h" #include "rtc_base/socket_address.h" @@ -68,9 +69,9 @@ class AsyncUDPSocket : public AsyncPacketSocket { RTC_NO_UNIQUE_ADDRESS webrtc::SequenceChecker sequence_checker_; std::unique_ptr<Socket> socket_; - static constexpr int BUF_SIZE = 64 * 1024; - char buf_[BUF_SIZE] RTC_GUARDED_BY(sequence_checker_); - absl::optional<int64_t> socket_time_offset_ RTC_GUARDED_BY(sequence_checker_); + rtc::Buffer buffer_ RTC_GUARDED_BY(sequence_checker_); + absl::optional<webrtc::TimeDelta> socket_time_offset_ + RTC_GUARDED_BY(sequence_checker_); }; } // namespace rtc |