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

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

Issue 2306013002: Remove restart method from VideoTrackSourceInterface. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « webrtc/api/androidvideotracksource.h ('k') | webrtc/api/videocapturertracksource.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 : public MediaSourceInterface, 100 : public MediaSourceInterface,
101 public rtc::VideoSourceInterface<cricket::VideoFrame> { 101 public rtc::VideoSourceInterface<cricket::VideoFrame> {
102 public: 102 public:
103 struct Stats { 103 struct Stats {
104 // Original size of captured frame, before video adaptation. 104 // Original size of captured frame, before video adaptation.
105 int input_width; 105 int input_width;
106 int input_height; 106 int input_height;
107 }; 107 };
108 108
109 virtual void Stop() = 0; 109 virtual void Stop() = 0;
110 virtual void Restart() = 0;
111 110
112 // Indicates that parameters suitable for screencasts should be automatically 111 // Indicates that parameters suitable for screencasts should be automatically
113 // applied to RtpSenders. 112 // applied to RtpSenders.
114 // TODO(perkj): Remove these once all known applications have moved to 113 // TODO(perkj): Remove these once all known applications have moved to
115 // explicitly setting suitable parameters for screencasts and dont' need this 114 // explicitly setting suitable parameters for screencasts and dont' need this
116 // implicit behavior. 115 // implicit behavior.
117 virtual bool is_screencast() const = 0; 116 virtual bool is_screencast() const = 0;
118 117
119 // Indicates that the encoder should denoise video before encoding it. 118 // Indicates that the encoder should denoise video before encoding it.
120 // If it is not set, the default configuration is used which is different 119 // If it is not set, the default configuration is used which is different
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 virtual bool RemoveTrack(AudioTrackInterface* track) = 0; 265 virtual bool RemoveTrack(AudioTrackInterface* track) = 0;
267 virtual bool RemoveTrack(VideoTrackInterface* track) = 0; 266 virtual bool RemoveTrack(VideoTrackInterface* track) = 0;
268 267
269 protected: 268 protected:
270 virtual ~MediaStreamInterface() {} 269 virtual ~MediaStreamInterface() {}
271 }; 270 };
272 271
273 } // namespace webrtc 272 } // namespace webrtc
274 273
275 #endif // WEBRTC_API_MEDIASTREAMINTERFACE_H_ 274 #endif // WEBRTC_API_MEDIASTREAMINTERFACE_H_
OLDNEW
« no previous file with comments | « webrtc/api/androidvideotracksource.h ('k') | webrtc/api/videocapturertracksource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698