mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 12:45:35 +08:00
[fix] use task queue to process rtp packet history
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#define _AUDIO_CHANNEL_SEND_H_
|
||||
|
||||
#include "ice_agent.h"
|
||||
#include "packet_sender.h"
|
||||
#include "paced_sender.h"
|
||||
#include "rtp_audio_sender.h"
|
||||
#include "rtp_packetizer.h"
|
||||
|
||||
@@ -16,7 +16,7 @@ class AudioChannelSend {
|
||||
public:
|
||||
AudioChannelSend();
|
||||
AudioChannelSend(std::shared_ptr<IceAgent> ice_agent,
|
||||
std::shared_ptr<PacketSender> packet_sender,
|
||||
std::shared_ptr<PacedSender> packet_sender,
|
||||
std::shared_ptr<IOStatistics> ice_io_statistics);
|
||||
~AudioChannelSend();
|
||||
|
||||
@@ -36,7 +36,7 @@ class AudioChannelSend {
|
||||
void OnReceiverReport(const ReceiverReport& receiver_report) {}
|
||||
|
||||
private:
|
||||
std::shared_ptr<PacketSender> packet_sender_ = nullptr;
|
||||
std::shared_ptr<PacedSender> paced_sender_ = nullptr;
|
||||
std::shared_ptr<IceAgent> ice_agent_ = nullptr;
|
||||
std::shared_ptr<IOStatistics> ice_io_statistics_ = nullptr;
|
||||
std::unique_ptr<RtpPacketizer> rtp_packetizer_ = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user