mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 12:45:35 +08:00
[feat] update congestion control feedback
This commit is contained in:
31
src/rtp/rtp_packet/rtp_packet_received.h
Normal file
31
src/rtp/rtp_packet/rtp_packet_received.h
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* @Author: DI JUNKUN
|
||||
* @Date: 2024-12-18
|
||||
* Copyright (c) 2024 by DI JUNKUN, All Rights Reserved.
|
||||
*/
|
||||
|
||||
#ifndef _RTP_PACKET_RECEIVED_H_
|
||||
#define _RTP_PACKET_RECEIVED_H_
|
||||
|
||||
#include <limits>
|
||||
|
||||
#include "rtp_packet.h"
|
||||
|
||||
class RtpPacketReceived : public RtpPacket {
|
||||
public:
|
||||
RtpPacketReceived();
|
||||
explicit RtpPacketReceived(
|
||||
int64_t arrival_time = std::numeric_limits<int64_t>::min());
|
||||
RtpPacketReceived(const RtpPacketReceived& packet);
|
||||
RtpPacketReceived(RtpPacketReceived&& packet);
|
||||
|
||||
RtpPacketReceived& operator=(const RtpPacketReceived& packet);
|
||||
RtpPacketReceived& operator=(RtpPacketReceived&& packet);
|
||||
|
||||
~RtpPacketReceived();
|
||||
|
||||
private:
|
||||
int64_t arrival_time_ = std::numeric_limits<int64_t>::min();
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user