OLD | NEW |
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 |
11 #ifndef WEBRTC_API_MEDIASTREAMPROVIDER_H_ | 11 #ifndef WEBRTC_API_MEDIASTREAMPROVIDER_H_ |
12 #define WEBRTC_API_MEDIASTREAMPROVIDER_H_ | 12 #define WEBRTC_API_MEDIASTREAMPROVIDER_H_ |
13 | 13 |
14 #include <memory> | 14 #include <memory> |
15 | 15 |
16 #include "webrtc/api/rtpsenderinterface.h" | 16 #include "webrtc/api/rtpsenderinterface.h" |
17 #include "webrtc/base/basictypes.h" | 17 #include "webrtc/base/basictypes.h" |
18 #include "webrtc/base/scoped_ptr.h" | |
19 #include "webrtc/media/base/videosinkinterface.h" | 18 #include "webrtc/media/base/videosinkinterface.h" |
20 #include "webrtc/media/base/videosourceinterface.h" | 19 #include "webrtc/media/base/videosourceinterface.h" |
21 | 20 |
22 namespace cricket { | 21 namespace cricket { |
23 | 22 |
24 class AudioSource; | 23 class AudioSource; |
25 class VideoFrame; | 24 class VideoFrame; |
26 struct AudioOptions; | 25 struct AudioOptions; |
27 struct VideoOptions; | 26 struct VideoOptions; |
28 | 27 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 virtual bool SetVideoRtpParameters(uint32_t ssrc, | 92 virtual bool SetVideoRtpParameters(uint32_t ssrc, |
94 const RtpParameters& parameters) = 0; | 93 const RtpParameters& parameters) = 0; |
95 | 94 |
96 protected: | 95 protected: |
97 virtual ~VideoProviderInterface() {} | 96 virtual ~VideoProviderInterface() {} |
98 }; | 97 }; |
99 | 98 |
100 } // namespace webrtc | 99 } // namespace webrtc |
101 | 100 |
102 #endif // WEBRTC_API_MEDIASTREAMPROVIDER_H_ | 101 #endif // WEBRTC_API_MEDIASTREAMPROVIDER_H_ |
OLD | NEW |