| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 bool set_worker_thread(rtc::Thread* thread) { | 54 bool set_worker_thread(rtc::Thread* thread) { |
| 55 if (initialized_) return false; | 55 if (initialized_) return false; |
| 56 worker_thread_ = thread; | 56 worker_thread_ = thread; |
| 57 return true; | 57 return true; |
| 58 } | 58 } |
| 59 | 59 |
| 60 MediaEngineInterface* media_engine() { return media_engine_.get(); } | 60 MediaEngineInterface* media_engine() { return media_engine_.get(); } |
| 61 | 61 |
| 62 // Retrieves the list of supported audio & video codec types. | 62 // Retrieves the list of supported audio & video codec types. |
| 63 // Can be called before starting the media engine. | 63 // Can be called before starting the media engine. |
| 64 void GetSupportedAudioCodecs(std::vector<AudioCodec>* codecs) const; | 64 void GetSupportedAudioSendCodecs(std::vector<AudioCodec>* codecs) const; |
| 65 void GetSupportedAudioReceiveCodecs(std::vector<AudioCodec>* codecs) const; |
| 65 void GetSupportedAudioRtpHeaderExtensions(RtpHeaderExtensions* ext) const; | 66 void GetSupportedAudioRtpHeaderExtensions(RtpHeaderExtensions* ext) const; |
| 66 void GetSupportedVideoCodecs(std::vector<VideoCodec>* codecs) const; | 67 void GetSupportedVideoCodecs(std::vector<VideoCodec>* codecs) const; |
| 67 void GetSupportedVideoRtpHeaderExtensions(RtpHeaderExtensions* ext) const; | 68 void GetSupportedVideoRtpHeaderExtensions(RtpHeaderExtensions* ext) const; |
| 68 void GetSupportedDataCodecs(std::vector<DataCodec>* codecs) const; | 69 void GetSupportedDataCodecs(std::vector<DataCodec>* codecs) const; |
| 69 | 70 |
| 70 // Indicates whether the media engine is started. | 71 // Indicates whether the media engine is started. |
| 71 bool initialized() const { return initialized_; } | 72 bool initialized() const { return initialized_; } |
| 72 // Starts up the media engine. | 73 // Starts up the media engine. |
| 73 bool Init(); | 74 bool Init(); |
| 74 // Shuts down the media engine. | 75 // Shuts down the media engine. |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 | 175 |
| 175 int audio_output_volume_; | 176 int audio_output_volume_; |
| 176 bool enable_rtx_; | 177 bool enable_rtx_; |
| 177 | 178 |
| 178 bool capturing_; | 179 bool capturing_; |
| 179 }; | 180 }; |
| 180 | 181 |
| 181 } // namespace cricket | 182 } // namespace cricket |
| 182 | 183 |
| 183 #endif // WEBRTC_PC_CHANNELMANAGER_H_ | 184 #endif // WEBRTC_PC_CHANNELMANAGER_H_ |
| OLD | NEW |