[refactor] move channel module into transport module

This commit is contained in:
dijunkun
2025-03-17 17:19:46 +08:00
parent 5c598be51d
commit b0306d510c
35 changed files with 134 additions and 98 deletions

View 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