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

Unified Diff: webrtc/audio/audio_receive_stream.h

Issue 2886993005: Introduce RtpStreamReceiver and RtpStreamReceiverControllerInterface. (Closed)
Patch Set: Rename again, to RtpStreamReceiver. Created 3 years, 6 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/audio/audio_receive_stream.cc » ('j') | webrtc/call/call.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/audio/audio_receive_stream.h
diff --git a/webrtc/audio/audio_receive_stream.h b/webrtc/audio/audio_receive_stream.h
index 7dcc6d3c53930b5a3be97c50278af7abbe1cfdd6..1d32520935af45469c316c868013d2417d707679 100644
--- a/webrtc/audio/audio_receive_stream.h
+++ b/webrtc/audio/audio_receive_stream.h
@@ -26,6 +26,8 @@ namespace webrtc {
class PacketRouter;
class RtcEventLog;
class RtpPacketReceived;
+class RtpStreamReceiverControllerInterface;
+class RtpStreamReceiver;
namespace voe {
class ChannelProxy;
@@ -39,7 +41,8 @@ class AudioReceiveStream final : public webrtc::AudioReceiveStream,
public Syncable,
public RtpPacketSinkInterface {
public:
- AudioReceiveStream(PacketRouter* packet_router,
+ AudioReceiveStream(RtpStreamReceiverControllerInterface* receiver_controller,
+ PacketRouter* packet_router,
const webrtc::AudioReceiveStream::Config& config,
const rtc::scoped_refptr<webrtc::AudioState>& audio_state,
webrtc::RtcEventLog* event_log);
@@ -87,6 +90,8 @@ class AudioReceiveStream final : public webrtc::AudioReceiveStream,
bool playing_ ACCESS_ON(worker_thread_checker_) = false;
+ std::unique_ptr<RtpStreamReceiver> rtp_stream_receiver_;
+
RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioReceiveStream);
};
} // namespace internal
« no previous file with comments | « no previous file | webrtc/audio/audio_receive_stream.cc » ('j') | webrtc/call/call.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698