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

Unified Diff: webrtc/audio/audio_receive_stream.h

Issue 2886993005: Introduce RtpStreamReceiver and RtpStreamReceiverControllerInterface. (Closed)
Patch Set: Return DELIVERY_UNKNOWN_SSRC, not DELIVERY_PACKET_ERROR, when receive_rtp_config_ lookup fails. 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
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..b201020b329381acfbd73f0410fa828495f3ebb5 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 RtpStreamReceiverInterface;
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<RtpStreamReceiverInterface> rtp_stream_receiver_;
+
RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioReceiveStream);
};
} // namespace internal

Powered by Google App Engine
This is Rietveld 408576698