In ChannelReceive, use AcmReceiver directly, not AudioCodingModule
Bug: webrtc:9801 Change-Id: I02d76bc89c363247c8dc782db316a9f87a2b93ec Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/111504 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28766}
This commit is contained in:
@ -228,7 +228,7 @@ absl::optional<std::pair<int, SdpAudioFormat>> AcmReceiver::LastDecoder()
|
||||
return last_decoder_;
|
||||
}
|
||||
|
||||
void AcmReceiver::GetNetworkStatistics(NetworkStatistics* acm_stat) {
|
||||
void AcmReceiver::GetNetworkStatistics(NetworkStatistics* acm_stat) const {
|
||||
NetEqNetworkStatistics neteq_stat;
|
||||
// NetEq function always returns zero, so we don't check the return value.
|
||||
neteq_->NetworkStatistics(&neteq_stat);
|
||||
|
||||
@ -138,7 +138,7 @@ class AcmReceiver {
|
||||
// Output:
|
||||
// - statistics : The current network statistics.
|
||||
//
|
||||
void GetNetworkStatistics(NetworkStatistics* statistics);
|
||||
void GetNetworkStatistics(NetworkStatistics* statistics) const;
|
||||
|
||||
//
|
||||
// Flushes the NetEq packet and speech buffers.
|
||||
|
||||
Reference in New Issue
Block a user