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 |
11 #ifndef WEBRTC_VIDEO_SEND_STREAM_H_ | 11 #ifndef WEBRTC_VIDEO_SEND_STREAM_H_ |
12 #define WEBRTC_VIDEO_SEND_STREAM_H_ | 12 #define WEBRTC_VIDEO_SEND_STREAM_H_ |
13 | 13 |
14 #include <map> | 14 #include <map> |
15 #include <string> | 15 #include <string> |
16 #include <utility> | 16 #include <utility> |
17 #include <vector> | 17 #include <vector> |
18 #include <utility> | 18 #include <utility> |
19 | 19 |
20 #include "webrtc/api/call/transport.h" | 20 #include "webrtc/api/call/transport.h" |
| 21 #include "webrtc/base/platform_file.h" |
21 #include "webrtc/common_types.h" | 22 #include "webrtc/common_types.h" |
22 #include "webrtc/common_video/include/frame_callback.h" | 23 #include "webrtc/common_video/include/frame_callback.h" |
23 #include "webrtc/config.h" | 24 #include "webrtc/config.h" |
24 #include "webrtc/media/base/videosinkinterface.h" | 25 #include "webrtc/media/base/videosinkinterface.h" |
25 #include "webrtc/media/base/videosourceinterface.h" | 26 #include "webrtc/media/base/videosourceinterface.h" |
26 #include "webrtc/rtc_base/platform_file.h" | |
27 | 27 |
28 namespace webrtc { | 28 namespace webrtc { |
29 | 29 |
30 class VideoEncoder; | 30 class VideoEncoder; |
31 | 31 |
32 class VideoSendStream { | 32 class VideoSendStream { |
33 public: | 33 public: |
34 struct StreamStats { | 34 struct StreamStats { |
35 std::string ToString() const; | 35 std::string ToString() const; |
36 | 36 |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 EnableEncodedFrameRecording(std::vector<rtc::PlatformFile>(), 0); | 259 EnableEncodedFrameRecording(std::vector<rtc::PlatformFile>(), 0); |
260 } | 260 } |
261 | 261 |
262 protected: | 262 protected: |
263 virtual ~VideoSendStream() {} | 263 virtual ~VideoSendStream() {} |
264 }; | 264 }; |
265 | 265 |
266 } // namespace webrtc | 266 } // namespace webrtc |
267 | 267 |
268 #endif // WEBRTC_VIDEO_SEND_STREAM_H_ | 268 #endif // WEBRTC_VIDEO_SEND_STREAM_H_ |
OLD | NEW |