Reland "Wire up send-side bandwidth estimation."
Revert was patchset #8 id:140001 of https://codereview.webrtc.org/1338203003/ The culprit was RTC_DCHECK(poller_thread_->Start()); in rampup_test.cc BUG=webrtc:4173 R=stefan@webrtc.org Review URL: https://codereview.webrtc.org/1362303002 . Cr-Commit-Position: refs/heads/master@{#10052}
This commit is contained in:
@ -34,6 +34,7 @@ public:
|
||||
RtcpPacketTypeCounterObserver* packet_type_counter_observer,
|
||||
RtcpBandwidthObserver* rtcp_bandwidth_observer,
|
||||
RtcpIntraFrameObserver* rtcp_intra_frame_observer,
|
||||
TransportFeedbackObserver* transport_feedback_observer,
|
||||
ModuleRtpRtcpImpl* owner);
|
||||
virtual ~RTCPReceiver();
|
||||
|
||||
@ -216,6 +217,10 @@ protected:
|
||||
void HandleAPPItem(RTCPUtility::RTCPParserV2& rtcpParser,
|
||||
RTCPHelp::RTCPPacketInformation& rtcpPacketInformation);
|
||||
|
||||
void HandleTransportFeedback(
|
||||
RTCPUtility::RTCPParserV2* rtcp_parser,
|
||||
RTCPHelp::RTCPPacketInformation* rtcp_packet_information);
|
||||
|
||||
private:
|
||||
typedef std::map<uint32_t, RTCPHelp::RTCPReceiveInformation*>
|
||||
ReceivedInfoMap;
|
||||
@ -241,6 +246,7 @@ protected:
|
||||
CriticalSectionWrapper* _criticalSectionFeedbacks;
|
||||
RtcpBandwidthObserver* const _cbRtcpBandwidthObserver;
|
||||
RtcpIntraFrameObserver* const _cbRtcpIntraFrameObserver;
|
||||
TransportFeedbackObserver* const _cbTransportFeedbackObserver;
|
||||
|
||||
CriticalSectionWrapper* _criticalSectionRTCPReceiver;
|
||||
uint32_t main_ssrc_;
|
||||
@ -282,6 +288,9 @@ protected:
|
||||
RtcpPacketTypeCounter packet_type_counter_;
|
||||
|
||||
RTCPUtility::NackStats nack_stats_;
|
||||
|
||||
size_t num_skipped_packets_;
|
||||
int64_t last_skipped_packets_warning_;
|
||||
};
|
||||
} // namespace webrtc
|
||||
#endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_
|
||||
|
||||
Reference in New Issue
Block a user