Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(544)

Side by Side Diff: webrtc/pc/channelmanager.h

Issue 2013053002: Support for two audio codec lists down into WebRtcVoiceEngine. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@asymmetric-audio-codec-support
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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;
ossu 2016/05/26 14:18:50 Is this an interface change that needs backwards c
pthatcher1 2016/05/31 18:26:48 This is only used by MediaSessionDescriptionFactor
ossu 2016/06/01 08:34:12 Acknowledged.
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698