VCM: Adding the fecMethod as a member of the hybrid NACK/FEC class.

Review URL: http://webrtc-codereview.appspot.com/93002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@247 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
mikhal@google.com
2011-07-22 22:05:25 +00:00
parent 069e63085e
commit 7740888ad6
2 changed files with 22 additions and 13 deletions

View File

@@ -208,12 +208,15 @@ public:
class VCMNackFecMethod : public VCMProtectionMethod
{
public:
VCMNackFecMethod() : VCMProtectionMethod(kNackFec) {}
VCMNackFecMethod();
~VCMNackFecMethod();
virtual bool UpdateParameters(const VCMProtectionParameters* parameters);
// Get the effective packet loss for ER
bool EffectivePacketLoss(const VCMProtectionParameters* parameters);
// Get the FEC protection factors
bool ProtectionFactor(const VCMProtectionParameters* parameters);
private:
VCMFecMethod* _fecMethod;
};