Remove unnecessary failure on changing CN payload type while sending.
BUG=issue625 Review URL: https://webrtc-codereview.appspot.com/731009 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2630 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
42a4891699
commit
9ea1be81d8
@ -400,12 +400,6 @@ int VoECodecImpl::SetSendCNPayloadType(int channel, int type,
|
|||||||
"SetSendCNPayloadType() failed to locate channel");
|
"SetSendCNPayloadType() failed to locate channel");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if (channelPtr->Sending())
|
|
||||||
{
|
|
||||||
_shared->SetLastError(VE_SENDING, kTraceError,
|
|
||||||
"SetSendCNPayloadType unable so set payload type while sending");
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
return channelPtr->SetSendCNPayloadType(type, frequency);
|
return channelPtr->SetSendCNPayloadType(type, frequency);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user