 Chromium Code Reviews
 Chromium Code Reviews Issue 2206223002:
  Removed calls to VoE::SetPlayout() from WebRTCVoiceEngine.  (Closed) 
  Base URL: https://chromium.googlesource.com/external/webrtc.git@master
    
  
    Issue 2206223002:
  Removed calls to VoE::SetPlayout() from WebRTCVoiceEngine.  (Closed) 
  Base URL: https://chromium.googlesource.com/external/webrtc.git@master| 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 238 bool SetRecvCodecs(const std::vector<AudioCodec>& codecs); | 238 bool SetRecvCodecs(const std::vector<AudioCodec>& codecs); | 
| 239 bool SetSendCodecs(const std::vector<AudioCodec>& codecs); | 239 bool SetSendCodecs(const std::vector<AudioCodec>& codecs); | 
| 240 bool SetSendCodecs(int channel, const webrtc::RtpParameters& rtp_parameters); | 240 bool SetSendCodecs(int channel, const webrtc::RtpParameters& rtp_parameters); | 
| 241 bool SetSendCodec(int channel, const webrtc::CodecInst& send_codec); | 241 bool SetSendCodec(int channel, const webrtc::CodecInst& send_codec); | 
| 242 bool SetLocalSource(uint32_t ssrc, AudioSource* source); | 242 bool SetLocalSource(uint32_t ssrc, AudioSource* source); | 
| 243 bool MuteStream(uint32_t ssrc, bool mute); | 243 bool MuteStream(uint32_t ssrc, bool mute); | 
| 244 | 244 | 
| 245 WebRtcVoiceEngine* engine() { return engine_; } | 245 WebRtcVoiceEngine* engine() { return engine_; } | 
| 246 int GetLastEngineError() { return engine()->GetLastEngineError(); } | 246 int GetLastEngineError() { return engine()->GetLastEngineError(); } | 
| 247 int GetOutputLevel(int channel); | 247 int GetOutputLevel(int channel); | 
| 248 bool SetPlayout(int channel, bool playout); | |
| 
aleloi
2016/08/03 13:09:58
Removed private member function that did the commu
 | |
| 249 bool ChangePlayout(bool playout); | 248 bool ChangePlayout(bool playout); | 
| 250 int CreateVoEChannel(); | 249 int CreateVoEChannel(); | 
| 251 bool DeleteVoEChannel(int channel); | 250 bool DeleteVoEChannel(int channel); | 
| 252 bool IsDefaultRecvStream(uint32_t ssrc) { | 251 bool IsDefaultRecvStream(uint32_t ssrc) { | 
| 253 return default_recv_ssrc_ == static_cast<int64_t>(ssrc); | 252 return default_recv_ssrc_ == static_cast<int64_t>(ssrc); | 
| 254 } | 253 } | 
| 255 bool SetMaxSendBitrate(int bps); | 254 bool SetMaxSendBitrate(int bps); | 
| 256 bool SetChannelSendParameters(int channel, | 255 bool SetChannelSendParameters(int channel, | 
| 257 const webrtc::RtpParameters& parameters); | 256 const webrtc::RtpParameters& parameters); | 
| 258 bool SetMaxSendBitrate(int channel, int bps); | 257 bool SetMaxSendBitrate(int channel, int bps); | 
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 296 std::map<uint32_t, WebRtcAudioReceiveStream*> recv_streams_; | 295 std::map<uint32_t, WebRtcAudioReceiveStream*> recv_streams_; | 
| 297 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; | 296 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; | 
| 298 | 297 | 
| 299 SendCodecSpec send_codec_spec_; | 298 SendCodecSpec send_codec_spec_; | 
| 300 | 299 | 
| 301 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel); | 300 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel); | 
| 302 }; | 301 }; | 
| 303 } // namespace cricket | 302 } // namespace cricket | 
| 304 | 303 | 
| 305 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_ | 304 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_ | 
| OLD | NEW |