Make RTCP sender report send media bytes.
r6654 changed RtpSender::Bytes() to return the number of bytes sent instead of number of media bytes. This is used by VideoEngine for stats. This change broke RTCP which sends this same count as the number of payload bytes sent (excluding headers and padding). BUG= R=stefan@webrtc.org Review URL: https://webrtc-codereview.appspot.com/14959004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6691 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -89,12 +89,10 @@ class ModuleRtpRtcpImpl : public RtpRtcp {
|
||||
|
||||
virtual int32_t SetCSRCStatus(const bool include) OVERRIDE;
|
||||
|
||||
virtual uint32_t PacketCountSent() const;
|
||||
virtual RTCPSender::FeedbackState GetFeedbackState();
|
||||
|
||||
virtual int CurrentSendFrequencyHz() const;
|
||||
|
||||
virtual uint32_t ByteCountSent() const;
|
||||
|
||||
virtual void SetRTXSendStatus(const int mode) OVERRIDE;
|
||||
|
||||
virtual void RTXSendStatus(int* mode, uint32_t* ssrc,
|
||||
@ -328,9 +326,9 @@ class ModuleRtpRtcpImpl : public RtpRtcp {
|
||||
const FecProtectionParams* delta_params,
|
||||
const FecProtectionParams* key_params) OVERRIDE;
|
||||
|
||||
virtual int32_t LastReceivedNTP(uint32_t& NTPsecs,
|
||||
uint32_t& NTPfrac,
|
||||
uint32_t& remote_sr);
|
||||
virtual bool LastReceivedNTP(uint32_t* NTPsecs,
|
||||
uint32_t* NTPfrac,
|
||||
uint32_t* remote_sr) const;
|
||||
|
||||
virtual bool LastReceivedXrReferenceTimeInfo(RtcpReceiveTimeInfo* info) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user