Use backticks not vertical bars to denote variables in comments for /modules/rtp_rtcp
Bug: webrtc:12338 Change-Id: I52eb3b6675c4705e22f51b70799ed6139a3b46bc Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/227164 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34686}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
7f9ab1aa1b
commit
913cfa76ec
@ -103,12 +103,12 @@ TEST_F(UlpfecGeneratorTest, NoEmptyFecWithSeqNumGaps) {
|
||||
}
|
||||
|
||||
TEST_F(UlpfecGeneratorTest, OneFrameFec) {
|
||||
// The number of media packets (|kNumPackets|), number of frames (one for
|
||||
// The number of media packets (`kNumPackets`), number of frames (one for
|
||||
// this test), and the protection factor (|params->fec_rate|) are set to make
|
||||
// sure the conditions for generating FEC are satisfied. This means:
|
||||
// (1) protection factor is high enough so that actual overhead over 1 frame
|
||||
// of packets is within |kMaxExcessOverhead|, and (2) the total number of
|
||||
// media packets for 1 frame is at least |minimum_media_packets_fec_|.
|
||||
// of packets is within `kMaxExcessOverhead`, and (2) the total number of
|
||||
// media packets for 1 frame is at least `minimum_media_packets_fec_`.
|
||||
constexpr size_t kNumPackets = 4;
|
||||
FecProtectionParams params = {15, 3, kFecMaskRandom};
|
||||
packet_generator_.NewFrame(kNumPackets);
|
||||
@ -137,13 +137,13 @@ TEST_F(UlpfecGeneratorTest, OneFrameFec) {
|
||||
}
|
||||
|
||||
TEST_F(UlpfecGeneratorTest, TwoFrameFec) {
|
||||
// The number of media packets/frame (|kNumPackets|), the number of frames
|
||||
// (|kNumFrames|), and the protection factor (|params->fec_rate|) are set to
|
||||
// The number of media packets/frame (`kNumPackets`), the number of frames
|
||||
// (`kNumFrames`), and the protection factor (|params->fec_rate|) are set to
|
||||
// make sure the conditions for generating FEC are satisfied. This means:
|
||||
// (1) protection factor is high enough so that actual overhead over
|
||||
// |kNumFrames| is within |kMaxExcessOverhead|, and (2) the total number of
|
||||
// media packets for |kNumFrames| frames is at least
|
||||
// |minimum_media_packets_fec_|.
|
||||
// `kNumFrames` is within `kMaxExcessOverhead`, and (2) the total number of
|
||||
// media packets for `kNumFrames` frames is at least
|
||||
// `minimum_media_packets_fec_`.
|
||||
constexpr size_t kNumPackets = 2;
|
||||
constexpr size_t kNumFrames = 2;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user