Added comments and an assert explaining that NACK hasn't been fully

implemented in the mt_rx_tx_test.
Review URL: http://webrtc-codereview.appspot.com/25018

git-svn-id: http://webrtc.googlecode.com/svn/trunk@79 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
holmer@google.com 2011-06-15 07:37:23 +00:00
parent 51f2453d98
commit 7925dd575f

View File

@ -107,6 +107,7 @@ int MTRxTxTest(CmdArgs& args)
WebRtc_Word32 numberOfCores = 1; WebRtc_Word32 numberOfCores = 1;
// error resilience/network // error resilience/network
// Nack support is currently not implemented in this test.
bool nackEnabled = false; bool nackEnabled = false;
bool fecEnabled = false; bool fecEnabled = false;
WebRtc_UWord8 rttMS = 20; WebRtc_UWord8 rttMS = 20;
@ -216,6 +217,8 @@ int MTRxTxTest(CmdArgs& args)
vcm->RegisterProtectionCallback(&protectionCallback); vcm->RegisterProtectionCallback(&protectionCallback);
outgoingTransport->SetLossPct(lossRate); outgoingTransport->SetLossPct(lossRate);
// Nack support is currently not implemented in this test
assert(nackEnabled == false);
vcm->SetVideoProtection(kProtectionNack, nackEnabled); vcm->SetVideoProtection(kProtectionNack, nackEnabled);
vcm->SetVideoProtection(kProtectionFEC, fecEnabled); vcm->SetVideoProtection(kProtectionFEC, fecEnabled);