| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 return true; | 68 return true; |
| 69 } | 69 } |
| 70 | 70 |
| 71 MediaEngineInterface* media_engine() { return media_engine_.get(); } | 71 MediaEngineInterface* media_engine() { return media_engine_.get(); } |
| 72 | 72 |
| 73 // Retrieves the list of supported audio & video codec types. | 73 // Retrieves the list of supported audio & video codec types. |
| 74 // Can be called before starting the media engine. | 74 // Can be called before starting the media engine. |
| 75 void GetSupportedAudioSendCodecs(std::vector<AudioCodec>* codecs) const; | 75 void GetSupportedAudioSendCodecs(std::vector<AudioCodec>* codecs) const; |
| 76 void GetSupportedAudioReceiveCodecs(std::vector<AudioCodec>* codecs) const; | 76 void GetSupportedAudioReceiveCodecs(std::vector<AudioCodec>* codecs) const; |
| 77 void GetSupportedAudioRtpHeaderExtensions(RtpHeaderExtensions* ext) const; | 77 void GetSupportedAudioRtpHeaderExtensions(RtpHeaderExtensions* ext) const; |
| 78 void GetSupportedVideoCodecs(std::vector<VideoCodec>* codecs) const; | 78 std::vector<VideoCodec> GetSupportedVideoCodecs() const; |
| 79 void GetSupportedVideoRtpHeaderExtensions(RtpHeaderExtensions* ext) const; | 79 void GetSupportedVideoRtpHeaderExtensions(RtpHeaderExtensions* ext) const; |
| 80 void GetSupportedDataCodecs(std::vector<DataCodec>* codecs) const; | 80 void GetSupportedDataCodecs(std::vector<DataCodec>* codecs) const; |
| 81 | 81 |
| 82 // Indicates whether the media engine is started. | 82 // Indicates whether the media engine is started. |
| 83 bool initialized() const { return initialized_; } | 83 bool initialized() const { return initialized_; } |
| 84 // Starts up the media engine. | 84 // Starts up the media engine. |
| 85 bool Init(); | 85 bool Init(); |
| 86 // Shuts down the media engine. | 86 // Shuts down the media engine. |
| 87 void Terminate(); | 87 void Terminate(); |
| 88 | 88 |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 | 191 |
| 192 bool enable_rtx_; | 192 bool enable_rtx_; |
| 193 rtc::CryptoOptions crypto_options_; | 193 rtc::CryptoOptions crypto_options_; |
| 194 | 194 |
| 195 bool capturing_; | 195 bool capturing_; |
| 196 }; | 196 }; |
| 197 | 197 |
| 198 } // namespace cricket | 198 } // namespace cricket |
| 199 | 199 |
| 200 #endif // WEBRTC_PC_CHANNELMANAGER_H_ | 200 #endif // WEBRTC_PC_CHANNELMANAGER_H_ |
| OLD | NEW |