mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
[feat] use packet sender to send all rtp packets
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user