Bug 1527633 - rename GetRTPStats to something less ambiguous r=dminor

rename GetRTPStats to something less ambiguous

Differential Revision: https://phabricator.services.mozilla.com/D19670

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Nico Grunbaum 2019-02-13 16:35:12 +00:00
Родитель b6aa3ee4b4
Коммит ff4ed47d38
6 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -174,7 +174,7 @@ bool WebrtcAudioConduit::GetRecvPacketTypeStats(
return mRecvChannelProxy->GetRTCPPacketTypeCounters(*aPacketCounts);
}
bool WebrtcAudioConduit::GetRTPStats(unsigned int* jitterMs,
bool WebrtcAudioConduit::GetRTPReceiverStats(unsigned int* jitterMs,
unsigned int* cumulativeLost) {
ASSERT_ON_THREAD(mStsThread);
*jitterMs = 0;

Просмотреть файл

@ -236,7 +236,7 @@ class WebrtcAudioConduit : public AudioSessionConduit,
uint32_t* framesDecoded) override {
return false;
}
bool GetRTPStats(unsigned int* jitterMs,
bool GetRTPReceiverStats(unsigned int* jitterMs,
unsigned int* cumulativeLost) override;
bool GetRTCPReceiverReport(uint32_t* jitterMs, uint32_t* packetsReceived,
uint64_t* bytesReceived, uint32_t* cumulativeLost,

Просмотреть файл

@ -238,7 +238,7 @@ class MediaSessionConduit {
double* bitrateMean, double* bitrateStdDev,
uint32_t* discardedPackets,
uint32_t* framesDecoded) = 0;
virtual bool GetRTPStats(unsigned int* jitterMs,
virtual bool GetRTPReceiverStats(unsigned int* jitterMs,
unsigned int* cumulativeLost) = 0;
virtual bool GetRTCPReceiverReport(uint32_t* jitterMs,
uint32_t* packetsReceived,

Просмотреть файл

@ -1171,7 +1171,7 @@ bool WebrtcVideoConduit::GetVideoDecoderStats(double* framerateMean,
return true;
}
bool WebrtcVideoConduit::GetRTPStats(uint32_t* jitterMs,
bool WebrtcVideoConduit::GetRTPReceiverStats(uint32_t* jitterMs,
uint32_t* packetsLost) {
ASSERT_ON_THREAD(mStsThread);

Просмотреть файл

@ -262,7 +262,7 @@ class WebrtcVideoConduit
double* bitrateMean, double* bitrateStdDev,
uint32_t* discardedPackets,
uint32_t* framesDecoded) override;
bool GetRTPStats(unsigned int* jitterMs,
bool GetRTPReceiverStats(unsigned int* jitterMs,
unsigned int* cumulativeLost) override;
bool GetRTCPReceiverReport(uint32_t* jitterMs, uint32_t* packetsReceived,
uint64_t* bytesReceived, uint32_t* cumulativeLost,

Просмотреть файл

@ -2939,7 +2939,7 @@ RefPtr<RTCStatsQueryPromise> PeerConnectionImpl::ExecuteStatsQuery_s(
s.mMediaType.Construct(kind); // mediaType is the old name for kind.
s.mKind.Construct(kind);
unsigned int jitterMs, packetsLost;
if (mp.Conduit()->GetRTPStats(&jitterMs, &packetsLost)) {
if (mp.Conduit()->GetRTPReceiverStats(&jitterMs, &packetsLost)) {
s.mJitter.Construct(double(jitterMs) / 1000);
s.mPacketsLost.Construct(packetsLost);
}