Index: webrtc/media/base/mediachannel.h |
diff --git a/webrtc/media/base/mediachannel.h b/webrtc/media/base/mediachannel.h |
index 6f14b7aa2e5ec95c53d873feb0a6bbbf3ed56d06..6189b2f85fb2c52acc8581a5391887035ee9cd1a 100644 |
--- a/webrtc/media/base/mediachannel.h |
+++ b/webrtc/media/base/mediachannel.h |
@@ -863,13 +863,11 @@ struct VideoMediaInfo { |
void Clear() { |
senders.clear(); |
receivers.clear(); |
- bw_estimations.clear(); |
send_codecs.clear(); |
receive_codecs.clear(); |
} |
std::vector<VideoSenderInfo> senders; |
std::vector<VideoReceiverInfo> receivers; |
- std::vector<BandwidthEstimationInfo> bw_estimations; |
RtpCodecParametersMap send_codecs; |
RtpCodecParametersMap receive_codecs; |
}; |
@@ -1083,6 +1081,7 @@ class VideoMediaChannel : public MediaChannel { |
// If SSRC is 0, the sink is used for the 'default' stream. |
virtual bool SetSink(uint32_t ssrc, |
rtc::VideoSinkInterface<webrtc::VideoFrame>* sink) = 0; |
+ virtual bool FillBitrateInfo(BandwidthEstimationInfo* bwe_info) = 0; |
Taylor Brandstetter
2017/05/07 21:30:44
nit: Why not "FillBandwidthEstimationInfo(Bandwidt
stefan-webrtc
2017/05/08 07:12:56
It only fills the "bitrate parts" (rtx, video bitr
Taylor Brandstetter
2017/05/08 17:47:41
Can you describe this in a comment above FillBitra
|
// Gets quality stats for the channel. |
virtual bool GetStats(VideoMediaInfo* info) = 0; |
}; |