Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Unified Diff: webrtc/api/audio_codecs/audio_encoder.h

Issue 3011623002: Add new ANA stats to GetStats() to count the number of actions taken by each controller. (Closed)
Patch Set: Addressed review comments. Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/api/audio_codecs/audio_encoder.cc » ('j') | webrtc/common_types.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/audio_codecs/audio_encoder.h
diff --git a/webrtc/api/audio_codecs/audio_encoder.h b/webrtc/api/audio_codecs/audio_encoder.h
index bd8c7deb942ab9bf9006c3845c7bd9d996291c4b..60e0a0705d0253d7c4f06a556443ca51e3475165 100644
--- a/webrtc/api/audio_codecs/audio_encoder.h
+++ b/webrtc/api/audio_codecs/audio_encoder.h
@@ -16,6 +16,7 @@
#include <string>
#include <vector>
+#include "webrtc/common_types.h"
#include "webrtc/rtc_base/array_view.h"
#include "webrtc/rtc_base/buffer.h"
#include "webrtc/rtc_base/deprecation.h"
@@ -203,6 +204,9 @@ class AudioEncoder {
virtual void SetReceiverFrameLengthRange(int min_frame_length_ms,
int max_frame_length_ms);
+ // Get statistics related to audio network adaptation.
+ virtual ANAStats GetANAStats() const;
+
protected:
// Subclasses implement this to perform the actual encoding. Called by
// Encode().
« no previous file with comments | « no previous file | webrtc/api/audio_codecs/audio_encoder.cc » ('j') | webrtc/common_types.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698