diff --git a/webrtc/voice_engine/channel.cc b/webrtc/voice_engine/channel.cc index 1ffc4d006b..dd0423f673 100644 --- a/webrtc/voice_engine/channel.cc +++ b/webrtc/voice_engine/channel.cc @@ -6701,6 +6701,7 @@ int Channel::SetRedPayloadType(int red_payload_type) { return -1; } + codec.pltype = red_payload_type; if (_audioCodingModule.RegisterSendCodec(codec) < 0) { _engineStatisticsPtr->SetLastError( VE_AUDIO_CODING_MODULE_ERROR, kTraceError,