mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 12:15:34 +08:00
26 lines
472 B
C++
26 lines
472 B
C++
/*
|
|
* @Author: DI JUNKUN
|
|
* @Date: 2025-03-17
|
|
* Copyright (c) 2025 by DI JUNKUN, All Rights Reserved.
|
|
*/
|
|
|
|
#ifndef _PACKET_SENDER_H_
|
|
#define _PACKET_SENDER_H_
|
|
|
|
#include <memory>
|
|
#include <vector>
|
|
|
|
#include "rtp_packet.h"
|
|
|
|
class PacketSender {
|
|
public:
|
|
PacketSender() {}
|
|
virtual ~PacketSender() {}
|
|
|
|
virtual int Send() = 0;
|
|
virtual int EnqueueRtpPacket(
|
|
std::vector<std::unique_ptr<RtpPacket>> &rtp_packets,
|
|
int64_t capture_timestamp_us) = 0;
|
|
};
|
|
|
|
#endif |