Start NACKing as soon as we have the first packet of a key frame.

BUG=1605

Review URL: https://webrtc-codereview.appspot.com/1307007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3855 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
stefan@webrtc.org
2013-04-16 09:38:26 +00:00
parent bdb9b971be
commit 885cd13356
6 changed files with 44 additions and 5 deletions

View File

@ -353,6 +353,11 @@ int VCMSessionInfo::MakeDecodable() {
return return_length;
}
bool
VCMSessionInfo::HaveFirstPacket() const {
return !packets_.empty() && packets_.front().isFirstPacket;
}
bool
VCMSessionInfo::HaveLastPacket() const {
return (!packets_.empty() && packets_.back().markerBit);