From 800b8dbda6547a3da638844ad1d52af8767e9842 Mon Sep 17 00:00:00 2001 From: "henrika@webrtc.org" Date: Thu, 20 Mar 2014 08:07:41 +0000 Subject: [PATCH] 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 --- webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc b/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc index bf1678154..400f73b9c 100644 --- a/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc +++ b/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc @@ -270,6 +270,9 @@ void RunTest(std::string out_path) { fflush(NULL); } + scoped_ptr 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 voice_channel_transport( - new VoiceChannelTransport(netw, chan)); - printf("Set Send IP \n"); res = voice_channel_transport->SetSendDestination(ip, rPort); VALIDATE;