Quellcode-Bibliothek audio_stats_test.cc
Sprache: C
/* * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree.
*/
BuiltInNetworkBehaviorConfig #include"system_wrappers/include/.h"
pipe_config;
pipe_config.queue_delay_ms = kRttMsjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 0
pipe_config
}
void int64_t ;
: = ()>()java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
SleepMs);
(IsNear,send_stats);
EXPECT_EQ // and some extra time to account for network delay.
EXPECT_EQ.,send_stats);
vo ()override
.jitter_ms
(, kRttMs.rtt_ms
EXPECT_EQ(0, .audio_level // send_stats.total_input_energy // send_stats.total_input_duration
EXPECT_FALSE(send_statsEXPECT_EQsend_stats)
LSE..);
EXPECT_FALSE("" .)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
send_stats)
EXPECT_FALSE(send_stats. (0 .)
AudioReceiveStreamInterface::Stats recv_stats =
receive_stream()->GetStats(/*get_and_clear_legacy_stats=*/true);(send_statsapm_statisticsdelay_median_ms);
EXPECT_PRED2(IsNear, kBytesSentEXPECT_FALSEsend_stats.delay_standard_deviation_ms
EXPECT_PRED2(recv_stats);
EXPECT_EQ(0, (send_statsapm_statistics.);
EXPECT_EQ(",send_statscodec_name; // recv_stats.jitter_ms.residual_echo_likelihood_recent_max); // recv_stats.jitter_buffer_ms
EXPECT_EQ0,recv_statsjitter_buffer_preferred_ms);
(IsNearkBytesSent .payload_bytes_received;
/ level 0because in::().
EXPECT_EQ(0, recv_stats EXPECT_EQ0 recv_stats.); // recv_stats.total_output_energy
/ recv_statsjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27 // recv_stats.total_output_duration // recv_stats.concealed_samples
/recv_statsjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
EXPECT_EQ(.0,recv_statssecondary_decoded_rate)java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
(0. .accelerate_rate
(00,recv_stats.preemptive_expand_rate)java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
(,recv_stats); // recv_stats.decoding_calls_to_neteq / recv_stats.decoding_normal // recv_stats.decoding_plc
EXPECT_EQ(0, recv_stats.decoding_cng /recv_statsjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41 // recv_stats.decoding_plc_cng // recv_stats.decoding_muted_output
/ Capture start time is -1 because we do not have an associated send stream
EXPECT_EQ1 recv_stats.apture_start_ntp_time_ms)java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
// Match these stats between caller and receiver.
EXPECT_EQsend_stats.local_ssrc recv_stats.);
(*send_stats.codec_payload_type *recv_statscodec_payload_type;
}
};
} // namespace
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.11Bemerkung:
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.