VoE Channel: Don't register codecs when stopping receiver
VoiceEngine's Channel::StopReceiving() would call RegisterReceiveCodecsToRTPModule(), which caused some errors with RED and ULP-FEC. In particular, an error message would be printed when hanging up a call in voe_cmd_test application. BUG=3085 R=henrika@webrtc.org Review URL: https://webrtc-codereview.appspot.com/10779004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5811 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
fe16488184
commit
d0a81d91ff
@ -1366,9 +1366,6 @@ Channel::StopReceiving()
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Recover DTMF detection status.
|
||||
telephone_event_handler_->SetTelephoneEventForwardToDecoder(true);
|
||||
RegisterReceiveCodecsToRTPModule();
|
||||
channel_state_.SetReceiving(false);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user