Wire up bandwidth stats to the new API and webrtcvideoengine2.
Adds stats to verify bandwidth and pacer stats. BUG=1788 R=mflodman@webrtc.org, pbos@webrtc.org Review URL: https://webrtc-codereview.appspot.com/24969004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7634 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -415,10 +415,12 @@ class ViEChannel
|
||||
|
||||
class RegisterableBitrateStatisticsObserver:
|
||||
public RegisterableCallback<BitrateStatisticsObserver> {
|
||||
virtual void Notify(const BitrateStatistics& stats, uint32_t ssrc) {
|
||||
virtual void Notify(const BitrateStatistics& total_stats,
|
||||
const BitrateStatistics& retransmit_stats,
|
||||
uint32_t ssrc) {
|
||||
CriticalSectionScoped cs(critsect_.get());
|
||||
if (callback_)
|
||||
callback_->Notify(stats, ssrc);
|
||||
callback_->Notify(total_stats, retransmit_stats, ssrc);
|
||||
}
|
||||
}
|
||||
send_bitrate_observer_;
|
||||
|
Reference in New Issue
Block a user