Searched refs:kMaxPaddingLength (Results 1 – 3 of 3) sorted by relevance
41 constexpr size_t kMaxPaddingLength = 224; variable438 rtc::SafeMin(max_payload_size, kMaxPaddingLength)); in GeneratePadding()444 padding_bytes_in_packet = rtc::SafeMin(max_payload_size, kMaxPaddingLength); in GeneratePadding()
1142 const size_t kMaxPaddingLength = 224; // Value taken from rtp_sender.cc. in TEST_P() local1144 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()
573 constexpr size_t kMaxPaddingLength = 224; in NewRtpPacketIncoming() local575 const size_t padding_size = !padding ? 0u : prng_.Rand(0u, kMaxPaddingLength); in NewRtpPacketIncoming()602 constexpr size_t kMaxPaddingLength = 224; in NewRtpPacketOutgoing() local604 const size_t padding_size = !padding ? 0u : prng_.Rand(0u, kMaxPaddingLength); in NewRtpPacketOutgoing()