mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
[refactor] move channel module into transport module
This commit is contained in:
25
src/transport/packet_sender/packet_sender.h
Normal file
25
src/transport/packet_sender/packet_sender.h
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* @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 InsertRtpPacket(
|
||||
std::vector<std::unique_ptr<RtpPacket>> &rtp_packets) = 0;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user