Correcting ViE RTP RTCP autotest.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1793 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
mflodman@webrtc.org 2012-02-29 07:06:49 +00:00
parent 4788bf4256
commit 6a60dbe81f

View File

@ -588,8 +588,14 @@ void ViEAutoTest::ViERtpRtcpAPITest()
EXPECT_EQ(setPT, getPT);
EXPECT_EQ(setDeltaTime, getDeltaTime);
EXPECT_EQ(0, ViE.rtp_rtcp->SetRTPKeepAliveStatus(
tbChannel.videoChannel, false, setPT, setDeltaTime));
EXPECT_EQ(0, ViE.base->StartSend(tbChannel.videoChannel));
EXPECT_EQ(0, ViE.rtp_rtcp->SetRTPKeepAliveStatus(
tbChannel.videoChannel, true, setPT, setDeltaTime));
EXPECT_NE(0, ViE.rtp_rtcp->SetRTPKeepAliveStatus(
tbChannel.videoChannel, true, setPT, setDeltaTime));