blob: a9749a473ee1181fe5c9804e8314197bc4cb1b1f [file] [log] [blame]
Qingsi Wang6e641e62018-04-11 20:14:17 -07001/*
2 * Copyright 2018 The WebRTC Project Authors. All rights reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11#include "rtc_base/socket.h"
12
13namespace rtc {
14
15PacketInfo::PacketInfo() = default;
16PacketInfo::PacketInfo(const PacketInfo& info) = default;
17PacketInfo::~PacketInfo() = default;
18
19SentPacket::SentPacket() = default;
Bjorn Mellem3a9c46d2018-04-25 13:24:48 -070020SentPacket::SentPacket(int64_t packet_id, int64_t send_time_ms)
Qingsi Wang6e641e62018-04-11 20:14:17 -070021 : packet_id(packet_id), send_time_ms(send_time_ms) {}
Bjorn Mellem3a9c46d2018-04-25 13:24:48 -070022SentPacket::SentPacket(int64_t packet_id,
Qingsi Wang6e641e62018-04-11 20:14:17 -070023 int64_t send_time_ms,
24 const rtc::PacketInfo& info)
25 : packet_id(packet_id), send_time_ms(send_time_ms), info(info) {}
26
27} // namespace rtc