Fix propagating RED paylaod-type to ACM.

BUG=issue1322
TBR=henrika@google.com
Review URL: https://webrtc-codereview.appspot.com/1086005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3449 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
turaj@webrtc.org 2013-01-31 18:34:19 +00:00
parent 763faeab4e
commit 9d532fd275

View File

@ -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,