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

Unified Diff: remoting/codec/audio_encoder.h

Issue 914133003: Fix AudioPump to pause the stream when the network is congested. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@audio_pump
Patch Set: Created 5 years, 10 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 | remoting/codec/audio_encoder_opus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/codec/audio_encoder.h
diff --git a/remoting/codec/audio_encoder.h b/remoting/codec/audio_encoder.h
index 30147d6057963cf2327f06fd9847e7a14e874bca..c33a4d218c097a0ba4174535be7465e261c2b4da 100644
--- a/remoting/codec/audio_encoder.h
+++ b/remoting/codec/audio_encoder.h
@@ -16,6 +16,9 @@ class AudioEncoder {
virtual ~AudioEncoder() {}
virtual scoped_ptr<AudioPacket> Encode(scoped_ptr<AudioPacket> packet) = 0;
+
+ // Returns average bitrate for the stream in bits per second.
+ virtual int GetBitrate() = 0;
};
} // namespace remoting
« no previous file with comments | « no previous file | remoting/codec/audio_encoder_opus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698