Move ownership of RTPSenderVideo and RTPSenderAudio one level up
From RTPSender to RtpRtcpImpl. Makes RTPSender operate on packets only, not frames. Bug: webrtc:7135 Change-Id: Ia9a11456404c3b322d873d4f8fb828742296b26d Reviewed-on: https://webrtc-review.googlesource.com/c/120044 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26586}
This commit is contained in:
@ -32,6 +32,8 @@
|
||||
#include "modules/rtp_rtcp/source/rtcp_receiver.h"
|
||||
#include "modules/rtp_rtcp/source/rtcp_sender.h"
|
||||
#include "modules/rtp_rtcp/source/rtp_sender.h"
|
||||
#include "modules/rtp_rtcp/source/rtp_sender_audio.h"
|
||||
#include "modules/rtp_rtcp/source/rtp_sender_video.h"
|
||||
#include "rtc_base/critical_section.h"
|
||||
#include "rtc_base/gtest_prod_util.h"
|
||||
|
||||
@ -336,13 +338,13 @@ class ModuleRtpRtcpImpl : public RtpRtcp, public RTCPReceiver::ModuleRtpRtcp {
|
||||
bool TimeToSendFullNackList(int64_t now) const;
|
||||
|
||||
std::unique_ptr<RTPSender> rtp_sender_;
|
||||
std::unique_ptr<RTPSenderAudio> audio_;
|
||||
std::unique_ptr<RTPSenderVideo> video_;
|
||||
RTCPSender rtcp_sender_;
|
||||
RTCPReceiver rtcp_receiver_;
|
||||
|
||||
Clock* const clock_;
|
||||
|
||||
const bool audio_;
|
||||
|
||||
const RtpKeepAliveConfig keepalive_config_;
|
||||
int64_t last_bitrate_process_time_;
|
||||
int64_t last_rtt_process_time_;
|
||||
|
||||
Reference in New Issue
Block a user