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

Unified Diff: webrtc/video/vie_channel.h

Issue 1905983002: Use vcm::VideoReceiver on the receive side. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 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 | « webrtc/video/video_receive_stream.cc ('k') | webrtc/video/vie_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/vie_channel.h
diff --git a/webrtc/video/vie_channel.h b/webrtc/video/vie_channel.h
index 1bcae198c07c7c2c7c7766e0a338a3e3404e88ea..98c3f85b4c927f9ec4632e9cf9c40b24e83d62de 100644
--- a/webrtc/video/vie_channel.h
+++ b/webrtc/video/vie_channel.h
@@ -43,10 +43,13 @@ class ProcessThread;
class ReceiveStatisticsProxy;
class RtcpRttStats;
class ViERTPObserver;
-class VideoCodingModule;
class VideoRenderCallback;
class VoEVideoSync;
+namespace vcm {
+class VideoReceiver;
+} // namespace vcm
+
enum StreamType {
kViEStreamTypeNormal = 0, // Normal media stream
kViEStreamTypeRtx = 1 // Retransmission media stream
@@ -63,7 +66,7 @@ class ViEChannel : public VCMFrameTypeCallback,
ViEChannel(Transport* transport,
ProcessThread* module_process_thread,
- VideoCodingModule* vcm,
+ vcm::VideoReceiver* video_receiver,
RemoteBitrateEstimator* remote_bitrate_estimator,
RtcpRttStats* rtt_stats,
PacedSender* paced_sender,
@@ -196,7 +199,7 @@ class ViEChannel : public VCMFrameTypeCallback,
// Used for all registered callbacks except rendering.
rtc::CriticalSection crit_;
- VideoCodingModule* const vcm_;
+ vcm::VideoReceiver* const video_receiver_;
ViEReceiver vie_receiver_;
// Helper to report call statistics.
« no previous file with comments | « webrtc/video/video_receive_stream.cc ('k') | webrtc/video/vie_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698