diff options
author | Android Chromium Automerger <chromium-automerger@android> | 2014-11-06 09:32:02 +0000 |
---|---|---|
committer | Android Chromium Automerger <chromium-automerger@android> | 2014-11-06 09:32:02 +0000 |
commit | 01a30f2a2c6542ec84470d4262a80865ec01e297 (patch) | |
tree | a4821d2136c53f90edf0819cf2ee72bd9b45ba93 /call.h | |
parent | b44eb8f9b54e77b4ac5c426ea947f72a6ad74aad (diff) | |
parent | b831a9e3d5f9f0563d249b726cffa8a070e58aee (diff) | |
download | webrtc-01a30f2a2c6542ec84470d4262a80865ec01e297.tar.gz |
Merge third_party/webrtc from https://chromium.googlesource.com/external/webrtc/trunk/webrtc.git at b831a9e3d5f9f0563d249b726cffa8a070e58aee
This commit was generated by merge_from_chromium.py.
Change-Id: I6d6255972e3c34e7797e9b46fbc3c0fe7e552d43
Diffstat (limited to 'call.h')
-rw-r--r-- | call.h | 18 |
1 files changed, 11 insertions, 7 deletions
@@ -88,6 +88,14 @@ class Call { int stream_start_bitrate_bps; }; + struct Stats { + Stats() : send_bandwidth_bps(0), recv_bandwidth_bps(0), pacer_delay_ms(0) {} + + int send_bandwidth_bps; + int recv_bandwidth_bps; + int pacer_delay_ms; + }; + static Call* Create(const Call::Config& config); static Call* Create(const Call::Config& config, @@ -109,13 +117,9 @@ class Call { // Call instance exists. virtual PacketReceiver* Receiver() = 0; - // Returns the estimated total send bandwidth. Note: this can differ from the - // actual encoded bitrate. - virtual uint32_t SendBitrateEstimate() = 0; - - // Returns the total estimated receive bandwidth for the call. Note: this can - // differ from the actual receive bitrate. - virtual uint32_t ReceiveBitrateEstimate() = 0; + // Returns the call statistics, such as estimated send and receive bandwidth, + // pacing delay, etc. + virtual Stats GetStats() const = 0; virtual void SignalNetworkState(NetworkState state) = 0; |