From 6a60dbe81feaa3555188f491348b280ad7c403da Mon Sep 17 00:00:00 2001 From: "mflodman@webrtc.org" Date: Wed, 29 Feb 2012 07:06:49 +0000 Subject: [PATCH] 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 --- .../test/auto_test/source/vie_autotest_rtp_rtcp.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/video_engine/test/auto_test/source/vie_autotest_rtp_rtcp.cc b/src/video_engine/test/auto_test/source/vie_autotest_rtp_rtcp.cc index c258762dc..e7b2ea653 100644 --- a/src/video_engine/test/auto_test/source/vie_autotest_rtp_rtcp.cc +++ b/src/video_engine/test/auto_test/source/vie_autotest_rtp_rtcp.cc @@ -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));