提交 443ccf08 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

RtpStreamSend: forgot to rename exported const everywhere

上级 601fb375
......@@ -11,9 +11,9 @@ namespace RTC
{
public:
// Minimum retransmission buffer size (ms).
const static uint32_t MinRetransmissionDelay;
const static uint32_t MinRetransmissionDelayMs;
// Maximum retransmission buffer size (ms).
const static uint32_t MaxRetransmissionDelay;
const static uint32_t MaxRetransmissionDelayMs;
public:
class Listener : public RTC::RtpStream::Listener
......@@ -46,7 +46,7 @@ namespace RTC
// Special container that stores `StorageItem*` elements addressable by
// their `uint16_t` sequence number, while only taking as little memory as
// necessary to store the range covering a maximum of
// `MaxRetransmissionDelay` milliseconds.
// MaxRetransmissionDelayMs milliseconds.
class StorageItemBuffer
{
public:
......
......@@ -319,11 +319,11 @@ SCENARIO("NACK and RTP packets retransmission", "[rtp][rtcp][nack]")
delete stream2;
}
SECTION("packets get retransmitted as long as they don't exceed MaxRetransmissionDelay")
SECTION("packets get retransmitted as long as they don't exceed MaxRetransmissionDelayMs")
{
uint32_t clockRate = 90000;
uint32_t firstTs = 1533790901;
uint32_t diffTs = RtpStreamSend::MaxRetransmissionDelay * clockRate / 1000;
uint32_t diffTs = RtpStreamSend::MaxRetransmissionDelayMs * clockRate / 1000;
uint32_t secondTs = firstTs + diffTs;
auto* packet1 = CreateRtpPacket(rtpBuffer1, 21006, firstTs);
......@@ -371,11 +371,11 @@ SCENARIO("NACK and RTP packets retransmission", "[rtp][rtcp][nack]")
delete stream;
}
SECTION("packets don't get retransmitted if MaxRetransmissionDelay is exceeded")
SECTION("packets don't get retransmitted if MaxRetransmissionDelayMs is exceeded")
{
uint32_t clockRate = 90000;
uint32_t firstTs = 1533790901;
uint32_t diffTs = RtpStreamSend::MaxRetransmissionDelay * clockRate / 1000;
uint32_t diffTs = RtpStreamSend::MaxRetransmissionDelayMs * clockRate / 1000;
uint32_t secondTs = firstTs + diffTs;
auto* packet1 = CreateRtpPacket(rtpBuffer1, 21006, firstTs);
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论