VCM:Accounting for bounds when inserting packets. We currently receive indicators to the first and last packets of the frame, but not have any sanity to verify that all packets are indeed within the bounds (when available). This cl attempts to fix that,
BUG= R=marpan@google.com Review URL: https://webrtc-codereview.appspot.com/2077004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4614 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -155,6 +155,14 @@ class VCMSessionInfo {
|
||||
int empty_seq_num_high_;
|
||||
// Number of packets discarded because the decoder can't use them.
|
||||
int packets_not_decodable_;
|
||||
|
||||
// The following two variables correspond to the first and last media packets
|
||||
// in a session defined by the first packet flag and the marker bit.
|
||||
// They are not necessarily equal to the front and back packets, as packets
|
||||
// may enter out of order.
|
||||
// TODO(mikhal): Refactor the list to use a map.
|
||||
int first_packet_seq_num_;
|
||||
int last_packet_seq_num_;
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
|
||||
Reference in New Issue
Block a user