BUG=N/A
R=mallinath@webrtc.org, niklas.enbom@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6020 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
henrike@webrtc.org
2014-04-29 17:50:47 +00:00
parent ceffdbc371
commit 82d3cb68cd

View File

@ -720,13 +720,13 @@ struct OverUseDetectorOptions {
// This structure will have the information about when packet is actually // This structure will have the information about when packet is actually
// received by socket. // received by socket.
struct PacketTime { struct PacketTime {
PacketTime() : timestamp(-1), max_error_us(-1) {} PacketTime() : timestamp(-1), not_before(-1) {}
PacketTime(int64_t timestamp, int64_t max_error_us) PacketTime(int64_t timestamp, int64_t not_before)
: timestamp(timestamp), max_error_us(max_error_us) { : timestamp(timestamp), not_before(not_before) {
} }
int64_t timestamp; // Receive time after socket delivers the data. int64_t timestamp; // Receive time after socket delivers the data.
int64_t max_error_us; // Earliest possible time the data could have arrived, int64_t not_before; // Earliest possible time the data could have arrived,
// indicating the potential error in the |timestamp| // indicating the potential error in the |timestamp|
// value,in case the system is busy. // value,in case the system is busy.
// For example, the time of the last select() call. // For example, the time of the last select() call.