Removes error printout in voe_cmd_test which was caused by attempts to transmit RTCP packets even if a transport object was not registered.

BUG=none
R=xians@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/10219004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5734 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
henrika@webrtc.org 2014-03-20 08:07:41 +00:00
parent c14807959b
commit 800b8dbda6

View File

@ -270,6 +270,9 @@ void RunTest(std::string out_path) {
fflush(NULL);
}
scoped_ptr<VoiceChannelTransport> voice_channel_transport(
new VoiceChannelTransport(netw, chan));
char ip[64];
printf("1. 127.0.0.1 \n");
printf("2. Specify IP \n");
@ -290,9 +293,6 @@ void RunTest(std::string out_path) {
rPort = 1234;
printf("Set Send port \n");
scoped_ptr<VoiceChannelTransport> voice_channel_transport(
new VoiceChannelTransport(netw, chan));
printf("Set Send IP \n");
res = voice_channel_transport->SetSendDestination(ip, rPort);
VALIDATE;