git-svn-id: http://webrtc.googlecode.com/svn/trunk@74 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
mikhal@google.com
2011-06-14 17:54:20 +00:00
parent 0c08ed1ef9
commit 17705a9c5a
16 changed files with 998 additions and 729 deletions

View File

@@ -34,6 +34,13 @@ enum VCMFecTypes
kXORFec
};
// Thresholds for hybrid NACK/FEC
// common to media optimization and the jitter buffer.
enum HybridNackTH {
kHighRttNackMs = 100,
kLowRttNackMs = 20
};
struct VCMProtectionParameters
{
VCMProtectionParameters() : rtt(0), lossPr(0), bitRate(0), packetsPerFrame(0),
@@ -134,16 +141,16 @@ public:
WebRtc_UWord8 _effectivePacketLoss;
WebRtc_UWord8 _protectionFactorK;
WebRtc_UWord8 _protectionFactorD;
float _residualPacketLoss;
float _scaleProtKey;
float _residualPacketLoss;
float _scaleProtKey;
WebRtc_Word32 _maxPayloadSize;
protected:
float _efficiency;
float _score;
float _efficiency;
float _score;
private:
const enum VCMProtectionMethodEnum _type;
const enum VCMProtectionMethodEnum _type;
};