| Index: talk/media/webrtc/webrtcvoiceengine.cc
|
| diff --git a/talk/media/webrtc/webrtcvoiceengine.cc b/talk/media/webrtc/webrtcvoiceengine.cc
|
| index 284afed4d119e8b11dce8aa8d0cd0153d5d4e0e2..b33e663fba95cd71f8d7601077a0e0c55990d15c 100644
|
| --- a/talk/media/webrtc/webrtcvoiceengine.cc
|
| +++ b/talk/media/webrtc/webrtcvoiceengine.cc
|
| @@ -1744,6 +1744,24 @@ WebRtcVoiceMediaChannel::~WebRtcVoiceMediaChannel() {
|
| DeleteChannel(voe_channel());
|
| }
|
|
|
| +bool WebRtcVoiceMediaChannel::SetSendParameters(
|
| + const AudioSendParameters& params) {
|
| + // TODO(pthatcher): Refactor this to be more clean now that we have
|
| + // all the information at once.
|
| + return (SetSendCodecs(params.codecs) &&
|
| + SetSendRtpHeaderExtensions(params.extensions) &&
|
| + SetMaxSendBandwidth(params.max_bandwidth_bps) &&
|
| + SetOptions(params.options));
|
| +}
|
| +
|
| +bool WebRtcVoiceMediaChannel::SetRecvParameters(
|
| + const AudioRecvParameters& params) {
|
| + // TODO(pthatcher): Refactor this to be more clean now that we have
|
| + // all the information at once.
|
| + return (SetRecvCodecs(params.codecs) &&
|
| + SetRecvRtpHeaderExtensions(params.extensions));
|
| +}
|
| +
|
| bool WebRtcVoiceMediaChannel::SetOptions(const AudioOptions& options) {
|
| LOG(LS_INFO) << "Setting voice channel options: "
|
| << options.ToString();
|
|
|