Home
last modified time | relevance | path

Searched refs:kMaxPaddingLength (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/modules/rtp_rtcp/source/
Drtp_sender.cc41 constexpr size_t kMaxPaddingLength = 224; variable
438 rtc::SafeMin(max_payload_size, kMaxPaddingLength)); in GeneratePadding()
444 padding_bytes_in_packet = rtc::SafeMin(max_payload_size, kMaxPaddingLength); in GeneratePadding()
Drtp_sender_unittest.cc1142 const size_t kMaxPaddingLength = 224; // Value taken from rtp_sender.cc. in TEST_P() local
1144 EXPECT_EQ(kMaxPaddingLength, GenerateAndSendPadding(kPaddingBytes)); in TEST_P()
1148 EXPECT_EQ(kMaxPaddingLength + rtp_header_len, in TEST_P()
1152 EXPECT_EQ(kMaxPaddingLength, rtp_header.paddingLength); in TEST_P()
/external/webrtc/logging/rtc_event_log/
Drtc_event_log_unittest_helper.cc573 constexpr size_t kMaxPaddingLength = 224; in NewRtpPacketIncoming() local
575 const size_t padding_size = !padding ? 0u : prng_.Rand(0u, kMaxPaddingLength); in NewRtpPacketIncoming()
602 constexpr size_t kMaxPaddingLength = 224; in NewRtpPacketOutgoing() local
604 const size_t padding_size = !padding ? 0u : prng_.Rand(0u, kMaxPaddingLength); in NewRtpPacketOutgoing()