Made common_types.h PacketTime declaration match https://code.google.com/p/webrtc/source/browse/trunk/talk/base/asyncpacketsocket.h#65
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:
@ -720,17 +720,17 @@ 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.
|
||||||
// If unknown, this value will be set to zero.
|
// If unknown, this value will be set to zero.
|
||||||
};
|
};
|
||||||
|
|
||||||
struct RTPHeaderExtension {
|
struct RTPHeaderExtension {
|
||||||
|
Reference in New Issue
Block a user