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

Unified Diff: webrtc/call/audio_send_stream.h

Issue 2987763003: Make ~webrtc::AudioSendStream public, and s/config()/GetConfig(), as well as make public. (Closed)
Patch Set: Created 3 years, 5 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
Index: webrtc/call/audio_send_stream.h
diff --git a/webrtc/call/audio_send_stream.h b/webrtc/call/audio_send_stream.h
index 26729e426cb835613ad61d610a19a9b0bb26f5d0..a2236a747538f0718668a77a2007b99dd505fc02 100644
--- a/webrtc/call/audio_send_stream.h
+++ b/webrtc/call/audio_send_stream.h
@@ -18,7 +18,9 @@
#include "webrtc/api/audio_codecs/audio_encoder_factory.h"
#include "webrtc/api/audio_codecs/audio_format.h"
#include "webrtc/api/call/transport.h"
+#include "webrtc/audio/time_interval.h"
#include "webrtc/config.h"
+#include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
#include "webrtc/rtc_base/optional.h"
#include "webrtc/typedefs.h"
@@ -31,6 +33,8 @@ namespace webrtc {
class AudioSendStream {
public:
+ virtual ~AudioSendStream() = default;
+
struct Stats {
Stats();
~Stats();
@@ -147,8 +151,11 @@ class AudioSendStream {
virtual Stats GetStats() const = 0;
- protected:
- virtual ~AudioSendStream() {}
+ virtual const webrtc::AudioSendStream::Config& GetConfig() const = 0;
+
+ virtual RtpState GetRtpState() const = 0;
+
+ virtual const TimeInterval& GetActiveLifetime() const = 0;
};
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698