зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1480498 - P2 - renaming RTCRTPStreamStats in the WebRTCGlobals r=mjf
Renaming RTCRTPStreamStats in the WebRTCGlobals. Differential Revision: https://phabricator.services.mozilla.com/D2683 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
40503db0b4
Коммит
87231d6193
|
@ -280,9 +280,9 @@ struct ParamTraits<mozilla::dom::RTCIceComponentStats>
|
|||
}
|
||||
};
|
||||
|
||||
static void WriteRTCRTPStreamStats(
|
||||
static void WriteRTCRtpStreamStats(
|
||||
Message* aMsg,
|
||||
const mozilla::dom::RTCRTPStreamStats& aParam)
|
||||
const mozilla::dom::RTCRtpStreamStats& aParam)
|
||||
{
|
||||
WriteParam(aMsg, aParam.mBitrateMean);
|
||||
WriteParam(aMsg, aParam.mBitrateStdDev);
|
||||
|
@ -297,9 +297,9 @@ static void WriteRTCRTPStreamStats(
|
|||
WriteParam(aMsg, aParam.mTransportId);
|
||||
}
|
||||
|
||||
static bool ReadRTCRTPStreamStats(
|
||||
static bool ReadRTCRtpStreamStats(
|
||||
const Message* aMsg, PickleIterator* aIter,
|
||||
mozilla::dom::RTCRTPStreamStats* aResult)
|
||||
mozilla::dom::RTCRtpStreamStats* aResult)
|
||||
{
|
||||
if (!ReadParam(aMsg, aIter, &(aResult->mBitrateMean)) ||
|
||||
!ReadParam(aMsg, aIter, &(aResult->mBitrateStdDev)) ||
|
||||
|
@ -334,7 +334,7 @@ struct ParamTraits<mozilla::dom::RTCInboundRTPStreamStats>
|
|||
WriteParam(aMsg, aParam.mRoundTripTime);
|
||||
WriteParam(aMsg, aParam.mPacketsLost);
|
||||
WriteParam(aMsg, aParam.mPacketsReceived);
|
||||
WriteRTCRTPStreamStats(aMsg, aParam);
|
||||
WriteRTCRtpStreamStats(aMsg, aParam);
|
||||
WriteRTCStats(aMsg, aParam);
|
||||
}
|
||||
|
||||
|
@ -349,7 +349,7 @@ struct ParamTraits<mozilla::dom::RTCInboundRTPStreamStats>
|
|||
!ReadParam(aMsg, aIter, &(aResult->mRoundTripTime)) ||
|
||||
!ReadParam(aMsg, aIter, &(aResult->mPacketsLost)) ||
|
||||
!ReadParam(aMsg, aIter, &(aResult->mPacketsReceived)) ||
|
||||
!ReadRTCRTPStreamStats(aMsg, aIter, aResult) ||
|
||||
!ReadRTCRtpStreamStats(aMsg, aIter, aResult) ||
|
||||
!ReadRTCStats(aMsg, aIter, aResult)) {
|
||||
return false;
|
||||
}
|
||||
|
@ -373,7 +373,7 @@ struct ParamTraits<mozilla::dom::RTCOutboundRTPStreamStats>
|
|||
WriteParam(aMsg, aParam.mFirCount);
|
||||
WriteParam(aMsg, aParam.mNackCount);
|
||||
WriteParam(aMsg, aParam.mPliCount);
|
||||
WriteRTCRTPStreamStats(aMsg, aParam);
|
||||
WriteRTCRtpStreamStats(aMsg, aParam);
|
||||
WriteRTCStats(aMsg, aParam);
|
||||
}
|
||||
|
||||
|
@ -387,7 +387,7 @@ struct ParamTraits<mozilla::dom::RTCOutboundRTPStreamStats>
|
|||
!ReadParam(aMsg, aIter, &(aResult->mFirCount)) ||
|
||||
!ReadParam(aMsg, aIter, &(aResult->mNackCount)) ||
|
||||
!ReadParam(aMsg, aIter, &(aResult->mPliCount)) ||
|
||||
!ReadRTCRTPStreamStats(aMsg, aIter, aResult) ||
|
||||
!ReadRTCRtpStreamStats(aMsg, aIter, aResult) ||
|
||||
!ReadRTCStats(aMsg, aIter, aResult)) {
|
||||
return false;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче