OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 // Starts stream activity. | 178 // Starts stream activity. |
179 // When a stream is active, it can receive, process and deliver packets. | 179 // When a stream is active, it can receive, process and deliver packets. |
180 virtual void Start() = 0; | 180 virtual void Start() = 0; |
181 // Stops stream activity. | 181 // Stops stream activity. |
182 // When a stream is stopped, it can't receive, process or deliver packets. | 182 // When a stream is stopped, it can't receive, process or deliver packets. |
183 virtual void Stop() = 0; | 183 virtual void Stop() = 0; |
184 | 184 |
185 // TODO(pbos): Add info on currently-received codec to Stats. | 185 // TODO(pbos): Add info on currently-received codec to Stats. |
186 virtual Stats GetStats() const = 0; | 186 virtual Stats GetStats() const = 0; |
187 | 187 |
| 188 virtual void DisableFec() = 0; |
| 189 |
188 protected: | 190 protected: |
189 virtual ~VideoReceiveStream() {} | 191 virtual ~VideoReceiveStream() {} |
190 }; | 192 }; |
191 | 193 |
192 } // namespace webrtc | 194 } // namespace webrtc |
193 | 195 |
194 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_ | 196 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_ |
OLD | NEW |