[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

@@ -37,9 +37,8 @@ class PacketSenderImp : public PacketSender,
public:
int Send() { return 0; }
int InsertRtpPacket(std::vector<std::unique_ptr<RtpPacket>>& rtp_packets) {
return 0;
}
int EnqueueRtpPacket(std::vector<std::unique_ptr<RtpPacket>>& rtp_packets,
int64_t capture_timestamp_ms);
void SetOnSentPacketFunc(
std::function<void(const webrtc::RtpPacketToSend&)> on_sent_packet_func) {