[feat] use packet sender to send all rtp packets

This commit is contained in:
dijunkun
2025-03-17 18:44:29 +08:00
parent b0306d510c
commit fa667df1e0
11 changed files with 79 additions and 18 deletions

View File

@@ -18,8 +18,9 @@ class PacketSender {
virtual ~PacketSender() {}
virtual int Send() = 0;
virtual int InsertRtpPacket(
std::vector<std::unique_ptr<RtpPacket>> &rtp_packets) = 0;
virtual int EnqueueRtpPacket(
std::vector<std::unique_ptr<RtpPacket>> &rtp_packets,
int64_t capture_timestamp_ms) = 0;
};
#endif