| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2004 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 24 matching lines...) Expand all Loading... |
| 35 namespace webrtc { | 35 namespace webrtc { |
| 36 class AudioDeviceModule; | 36 class AudioDeviceModule; |
| 37 class Call; | 37 class Call; |
| 38 } | 38 } |
| 39 | 39 |
| 40 namespace cricket { | 40 namespace cricket { |
| 41 | 41 |
| 42 class VideoCapturer; | 42 class VideoCapturer; |
| 43 | 43 |
| 44 struct RtpCapabilities { | 44 struct RtpCapabilities { |
| 45 std::vector<RtpHeaderExtension> header_extensions; | 45 std::vector<webrtc::RtpExtension> header_extensions; |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 // MediaEngineInterface is an abstraction of a media engine which can be | 48 // MediaEngineInterface is an abstraction of a media engine which can be |
| 49 // subclassed to support different media componentry backends. | 49 // subclassed to support different media componentry backends. |
| 50 // It supports voice and video operations in the same class to facilitate | 50 // It supports voice and video operations in the same class to facilitate |
| 51 // proper synchronization between both media types. | 51 // proper synchronization between both media types. |
| 52 class MediaEngineInterface { | 52 class MediaEngineInterface { |
| 53 public: | 53 public: |
| 54 virtual ~MediaEngineInterface() {} | 54 virtual ~MediaEngineInterface() {} |
| 55 | 55 |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 virtual ~DataEngineInterface() {} | 202 virtual ~DataEngineInterface() {} |
| 203 virtual DataMediaChannel* CreateChannel(DataChannelType type) = 0; | 203 virtual DataMediaChannel* CreateChannel(DataChannelType type) = 0; |
| 204 virtual const std::vector<DataCodec>& data_codecs() = 0; | 204 virtual const std::vector<DataCodec>& data_codecs() = 0; |
| 205 }; | 205 }; |
| 206 | 206 |
| 207 webrtc::RtpParameters CreateRtpParametersWithOneEncoding(); | 207 webrtc::RtpParameters CreateRtpParametersWithOneEncoding(); |
| 208 | 208 |
| 209 } // namespace cricket | 209 } // namespace cricket |
| 210 | 210 |
| 211 #endif // WEBRTC_MEDIA_BASE_MEDIAENGINE_H_ | 211 #endif // WEBRTC_MEDIA_BASE_MEDIAENGINE_H_ |
| OLD | NEW |