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

Unified Diff: webrtc/video/video_receive_stream.h

Issue 1411723002: Move ownership of receive ViEChannel to VideoReceiveStream. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Delete ViEChannel first. Created 5 years, 2 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/video/video_receive_stream.h
diff --git a/webrtc/video/video_receive_stream.h b/webrtc/video/video_receive_stream.h
index a16eab4529ea1e1ecd7a2c28da45573815fc1dd5..e42a419515d2aacfc275f46bc3bf76f564f3ac50 100644
--- a/webrtc/video/video_receive_stream.h
+++ b/webrtc/video/video_receive_stream.h
@@ -41,7 +41,8 @@ class VideoReceiveStream : public webrtc::VideoReceiveStream,
ChannelGroup* channel_group,
int channel_id,
const VideoReceiveStream::Config& config,
- webrtc::VoiceEngine* voice_engine);
+ webrtc::VoiceEngine* voice_engine,
+ ProcessThread* process_thread);
~VideoReceiveStream() override;
// webrtc::ReceiveStream implementation.
@@ -74,9 +75,8 @@ class VideoReceiveStream : public webrtc::VideoReceiveStream,
Clock* const clock_;
ChannelGroup* const channel_group_;
- const int channel_id_;
- ViEChannel* vie_channel_;
+ rtc::scoped_ptr<ViEChannel> vie_channel_;
rtc::scoped_ptr<IncomingVideoStream> incoming_video_stream_;
rtc::scoped_ptr<ReceiveStatisticsProxy> stats_proxy_;
pbos-webrtc 2015/10/16 12:49:57 I think you can move this one to the top since it
mflodman 2015/10/16 13:31:57 Done.

Powered by Google App Engine
This is Rietveld 408576698