Adding layer info consideration when applying FEC protection. In this first version, we hard code protection zero for non-base layer frames. As a future enhancement, an array should be passed from mediaOpt to set the protection per layer. A TODO was added in MediaOpt.
Review URL: http://webrtc-codereview.appspot.com/330005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1238 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -65,7 +65,8 @@ public:
|
||||
WebRtc_UWord32 frameRate,
|
||||
WebRtc_UWord32 bitRate,
|
||||
WebRtc_UWord16 width,
|
||||
WebRtc_UWord16 height);
|
||||
WebRtc_UWord16 height,
|
||||
int numTemporalLayers);
|
||||
/**
|
||||
* Enable protection method
|
||||
*/
|
||||
@@ -199,6 +200,7 @@ private:
|
||||
|
||||
WebRtc_Word64 _lastQMUpdateTime;
|
||||
WebRtc_Word64 _lastChangeTime; // content/user triggered
|
||||
int _numLayers;
|
||||
|
||||
|
||||
}; // end of VCMMediaOptimization class definition
|
||||
|
||||
Reference in New Issue
Block a user