Chromium Code Reviews| Index: talk/app/webrtc/rtpsender.cc | 
| diff --git a/talk/app/webrtc/rtpsender.cc b/talk/app/webrtc/rtpsender.cc | 
| index c0d23a0503cc08fb5a7fd8b301f8bd99bf076bd8..66ef964d2bc4b47dd66012dcac92d0f5c15dec29 100644 | 
| --- a/talk/app/webrtc/rtpsender.cc | 
| +++ b/talk/app/webrtc/rtpsender.cc | 
| @@ -183,20 +183,13 @@ void AudioRtpSender::Stop() { | 
| void AudioRtpSender::SetAudioSend() { | 
| RTC_DCHECK(!stopped_ && can_send_track()); | 
| - cricket::AudioOptions options; | 
| - if (track_->enabled() && track_->GetSource() && | 
| - !track_->GetSource()->remote()) { | 
| - // TODO(xians): Remove this static_cast since we should be able to connect | 
| - // a remote audio track to a peer connection. | 
| - options = static_cast<LocalAudioSource*>(track_->GetSource())->options(); | 
| - } | 
| - | 
| // Use the renderer if the audio track has one, otherwise use the sink | 
| // adapter owned by this class. | 
| cricket::AudioRenderer* renderer = | 
| track_->GetRenderer() ? track_->GetRenderer() : sink_adapter_.get(); | 
| ASSERT(renderer != nullptr); | 
| - provider_->SetAudioSend(ssrc_, track_->enabled(), options, renderer); | 
| + provider_->SetAudioSend(ssrc_, track_->enabled(), cricket::AudioOptions(), | 
| + renderer); | 
| 
 
the sun
2016/01/11 14:49:31
Are you sure these options are always empty? Is th
 
tommi
2016/01/14 16:24:11
In the case of Chrome, these options usually conta
 
the sun
2016/01/18 15:01:32
Non-Chrome clients use the VoE APM instance, e.g.
 
 | 
| } | 
| VideoRtpSender::VideoRtpSender(VideoTrackInterface* track, |