Make ChannelSend::OnUplinkPacketLossRate public
And delete a friend declaration. Bug: webrtc:10198 Change-Id: Ie3a79418602ec078f68e70c17ef37bb4d79fb36a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/268765 Commit-Queue: Jakob Ivarsson <jakobi@webrtc.org> Reviewed-by: Jakob Ivarsson <jakobi@webrtc.org> Auto-Submit: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/main@{#37548}
This commit is contained in:
parent
208129fb53
commit
ee3ad9f2ce
@ -61,10 +61,6 @@ class ChannelSend : public ChannelSendInterface,
|
|||||||
// packets from the ACM
|
// packets from the ACM
|
||||||
public RtcpPacketTypeCounterObserver {
|
public RtcpPacketTypeCounterObserver {
|
||||||
public:
|
public:
|
||||||
// TODO(nisse): Make OnUplinkPacketLossRate public, and delete friend
|
|
||||||
// declaration. Or delete indirection via VoERtcpObserver.
|
|
||||||
friend class VoERtcpObserver;
|
|
||||||
|
|
||||||
ChannelSend(Clock* clock,
|
ChannelSend(Clock* clock,
|
||||||
TaskQueueFactory* task_queue_factory,
|
TaskQueueFactory* task_queue_factory,
|
||||||
Transport* rtp_transport,
|
Transport* rtp_transport,
|
||||||
@ -154,6 +150,8 @@ class ChannelSend : public ChannelSendInterface,
|
|||||||
uint32_t ssrc,
|
uint32_t ssrc,
|
||||||
const RtcpPacketTypeCounter& packet_counter) override;
|
const RtcpPacketTypeCounter& packet_counter) override;
|
||||||
|
|
||||||
|
void OnUplinkPacketLossRate(float packet_loss_rate);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// From AudioPacketizationCallback in the ACM
|
// From AudioPacketizationCallback in the ACM
|
||||||
int32_t SendData(AudioFrameType frameType,
|
int32_t SendData(AudioFrameType frameType,
|
||||||
@ -163,7 +161,6 @@ class ChannelSend : public ChannelSendInterface,
|
|||||||
size_t payloadSize,
|
size_t payloadSize,
|
||||||
int64_t absolute_capture_timestamp_ms) override;
|
int64_t absolute_capture_timestamp_ms) override;
|
||||||
|
|
||||||
void OnUplinkPacketLossRate(float packet_loss_rate);
|
|
||||||
bool InputMute() const;
|
bool InputMute() const;
|
||||||
|
|
||||||
int32_t SendRtpAudio(AudioFrameType frameType,
|
int32_t SendRtpAudio(AudioFrameType frameType,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user