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

Side by Side Diff: webrtc/api/mediastreaminterface.h

Issue 1766653002: Replace SetCapturer and SetCaptureDevice by SetSource. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Make SetSource tolerate unknown ssrc and source == NULL. Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 11 matching lines...) Expand all
22 22
23 #include "webrtc/base/basictypes.h" 23 #include "webrtc/base/basictypes.h"
24 #include "webrtc/base/refcount.h" 24 #include "webrtc/base/refcount.h"
25 #include "webrtc/base/scoped_ref_ptr.h" 25 #include "webrtc/base/scoped_ref_ptr.h"
26 #include "webrtc/media/base/videosinkinterface.h" 26 #include "webrtc/media/base/videosinkinterface.h"
27 #include "webrtc/media/base/videosourceinterface.h" 27 #include "webrtc/media/base/videosourceinterface.h"
28 28
29 namespace cricket { 29 namespace cricket {
30 30
31 class AudioRenderer; 31 class AudioRenderer;
32 class VideoCapturer;
33 class VideoRenderer; 32 class VideoRenderer;
34 class VideoFrame; 33 class VideoFrame;
35 34
36 } // namespace cricket 35 } // namespace cricket
37 36
38 namespace webrtc { 37 namespace webrtc {
39 38
40 // Generic observer interface. 39 // Generic observer interface.
41 class ObserverInterface { 40 class ObserverInterface {
42 public: 41 public:
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 virtual bool RemoveTrack(AudioTrackInterface* track) = 0; 288 virtual bool RemoveTrack(AudioTrackInterface* track) = 0;
290 virtual bool RemoveTrack(VideoTrackInterface* track) = 0; 289 virtual bool RemoveTrack(VideoTrackInterface* track) = 0;
291 290
292 protected: 291 protected:
293 virtual ~MediaStreamInterface() {} 292 virtual ~MediaStreamInterface() {}
294 }; 293 };
295 294
296 } // namespace webrtc 295 } // namespace webrtc
297 296
298 #endif // WEBRTC_API_MEDIASTREAMINTERFACE_H_ 297 #endif // WEBRTC_API_MEDIASTREAMINTERFACE_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/api/mediastreamprovider.h » ('j') | webrtc/media/engine/webrtcvideoengine2.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698