Index: talk/app/webrtc/webrtcsession.cc |
diff --git a/talk/app/webrtc/webrtcsession.cc b/talk/app/webrtc/webrtcsession.cc |
index 10b607caa34403321f340d853533ccf85c125789..bdc47840bd1274380b10c906a4287ac63e9a9ba4 100644 |
--- a/talk/app/webrtc/webrtcsession.cc |
+++ b/talk/app/webrtc/webrtcsession.cc |
@@ -1233,19 +1233,12 @@ std::string WebRtcSession::BadStateErrMsg(State state) { |
return desc.str(); |
} |
-void WebRtcSession::SetAudioPlayout(uint32_t ssrc, |
- bool enable, |
- cricket::AudioRenderer* renderer) { |
+void WebRtcSession::SetAudioPlayout(uint32_t ssrc, bool enable) { |
ASSERT(signaling_thread()->IsCurrent()); |
if (!voice_channel_) { |
LOG(LS_ERROR) << "SetAudioPlayout: No audio channel exists."; |
return; |
} |
- if (!voice_channel_->SetRemoteRenderer(ssrc, renderer)) { |
- // SetRenderer() can fail if the ssrc does not match any playout channel. |
- LOG(LS_ERROR) << "SetAudioPlayout: ssrc is incorrect: " << ssrc; |
- return; |
- } |
if (!voice_channel_->SetOutputVolume(ssrc, enable ? 1 : 0)) { |
// Allow that SetOutputVolume fail if |enable| is false but assert |
// otherwise. This in the normal case when the underlying media channel has |