mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-29 13:26:33 +01:00
Disable opus tests to allow upgrade to opus 1.3
The upgrade to opus 1.3 is easier to carry out while the opus bitexactness tests are temporarily disabled. Bug: webrtc:11325 Change-Id: I96eecdbc93a01da88b92ae7f6473034c9795f3a0 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/167726 Commit-Queue: Ivo Creusen <ivoc@webrtc.org> Reviewed-by: Sam Zackrisson <saza@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30425}
This commit is contained in:
parent
bef818d4d9
commit
c31a4ec66a
5 changed files with 22 additions and 11 deletions
modules/audio_coding
|
@ -1455,13 +1455,15 @@ const std::string payload_checksum =
|
|||
"27fef7b799393347ec3b5694369a1c36");
|
||||
} // namespace
|
||||
|
||||
TEST_F(AcmSenderBitExactnessOldApi, Opus_stereo_20ms) {
|
||||
// TODO(webrtc:11325) Reenable after Opus has been upgraded to 1.3.
|
||||
TEST_F(AcmSenderBitExactnessOldApi, DISABLED_Opus_stereo_20ms) {
|
||||
ASSERT_NO_FATAL_FAILURE(SetUpTest("opus", 48000, 2, 120, 960, 960));
|
||||
Run(audio_checksum, payload_checksum, 50,
|
||||
test::AcmReceiveTestOldApi::kStereoOutput);
|
||||
}
|
||||
|
||||
TEST_F(AcmSenderBitExactnessNewApi, MAYBE_OpusFromFormat_stereo_20ms) {
|
||||
// TODO(webrtc:11325) Reenable after Opus has been upgraded to 1.3.
|
||||
TEST_F(AcmSenderBitExactnessNewApi, DISABLED_OpusFromFormat_stereo_20ms) {
|
||||
const auto config = AudioEncoderOpus::SdpToConfig(
|
||||
SdpAudioFormat("opus", 48000, 2, {{"stereo", "1"}}));
|
||||
ASSERT_TRUE(SetUpSender(kTestFileFakeStereo32kHz, 32000));
|
||||
|
@ -1518,7 +1520,8 @@ TEST_F(AcmSenderBitExactnessNewApi, DISABLED_OpusManyChannels) {
|
|||
50, test::AcmReceiveTestOldApi::kQuadOutput, decoder_factory);
|
||||
}
|
||||
|
||||
TEST_F(AcmSenderBitExactnessNewApi, OpusFromFormat_stereo_20ms_voip) {
|
||||
// TODO(webrtc:11325) Reenable after Opus has been upgraded to 1.3.
|
||||
TEST_F(AcmSenderBitExactnessNewApi, DISABLED_OpusFromFormat_stereo_20ms_voip) {
|
||||
auto config = AudioEncoderOpus::SdpToConfig(
|
||||
SdpAudioFormat("opus", 48000, 2, {{"stereo", "1"}}));
|
||||
// If not set, default will be kAudio in case of stereo.
|
||||
|
@ -1618,7 +1621,8 @@ class AcmSetBitRateNewApi : public AcmSetBitRateTest {
|
|||
}
|
||||
};
|
||||
|
||||
TEST_F(AcmSetBitRateNewApi, OpusFromFormat_48khz_20ms_10kbps) {
|
||||
// TODO(webrtc:11325) Reenable after Opus has been upgraded to 1.3.
|
||||
TEST_F(AcmSetBitRateNewApi, DISABLED_OpusFromFormat_48khz_20ms_10kbps) {
|
||||
const auto config = AudioEncoderOpus::SdpToConfig(
|
||||
SdpAudioFormat("opus", 48000, 2, {{"maxaveragebitrate", "10000"}}));
|
||||
ASSERT_TRUE(SetUpSender());
|
||||
|
@ -1627,7 +1631,8 @@ TEST_F(AcmSetBitRateNewApi, OpusFromFormat_48khz_20ms_10kbps) {
|
|||
RunInner(8000, 12000);
|
||||
}
|
||||
|
||||
TEST_F(AcmSetBitRateNewApi, OpusFromFormat_48khz_20ms_50kbps) {
|
||||
// TODO(webrtc:11325) Reenable after Opus has been upgraded to 1.3.
|
||||
TEST_F(AcmSetBitRateNewApi, DISABLED_OpusFromFormat_48khz_20ms_50kbps) {
|
||||
const auto config = AudioEncoderOpus::SdpToConfig(
|
||||
SdpAudioFormat("opus", 48000, 2, {{"maxaveragebitrate", "50000"}}));
|
||||
ASSERT_TRUE(SetUpSender());
|
||||
|
@ -1735,7 +1740,8 @@ TEST_F(AudioCodingModuleTestOldApi, SendingMonoForStereoInput) {
|
|||
#define MAYBE_OpusFromFormat_48khz_20ms_100kbps \
|
||||
OpusFromFormat_48khz_20ms_100kbps
|
||||
#endif
|
||||
TEST_F(AcmSetBitRateNewApi, MAYBE_OpusFromFormat_48khz_20ms_100kbps) {
|
||||
// TODO(webrtc:11325) Reenable after Opus has been upgraded to 1.3.
|
||||
TEST_F(AcmSetBitRateNewApi, DISABLED_OpusFromFormat_48khz_20ms_100kbps) {
|
||||
const auto config = AudioEncoderOpus::SdpToConfig(
|
||||
SdpAudioFormat("opus", 48000, 2, {{"maxaveragebitrate", "100000"}}));
|
||||
ASSERT_TRUE(SetUpSender());
|
||||
|
|
|
@ -912,7 +912,8 @@ TEST(AudioEncoderOpusTest, SetMaxPlaybackRateFb) {
|
|||
EXPECT_EQ(64000, config.bitrate_bps);
|
||||
}
|
||||
|
||||
TEST_P(AudioEncoderOpusTest, OpusFlagDtxAsNonSpeech) {
|
||||
// TODO(webrtc:11325) Reenable after Opus has been upgraded to 1.3.
|
||||
TEST_P(AudioEncoderOpusTest, DISABLED_OpusFlagDtxAsNonSpeech) {
|
||||
// Create encoder with DTX enabled.
|
||||
AudioEncoderOpusConfig config;
|
||||
config.dtx_enabled = true;
|
||||
|
|
|
@ -101,7 +101,8 @@ float EncodedPowerRatio(AudioEncoder* encoder,
|
|||
|
||||
} // namespace
|
||||
|
||||
TEST(BandwidthAdaptationTest, BandwidthAdaptationTest) {
|
||||
// TODO(webrtc:11325) Reenable after Opus has been upgraded to 1.3.
|
||||
TEST(BandwidthAdaptationTest, DISABLED_BandwidthAdaptationTest) {
|
||||
test::ScopedFieldTrials override_field_trials(
|
||||
"WebRTC-AdjustOpusBandwidth/Enabled/");
|
||||
|
||||
|
|
|
@ -599,7 +599,8 @@ TEST_F(AudioDecoderG722StereoTest, SetTargetBitrate) {
|
|||
TestSetAndGetTargetBitratesWithFixedCodec(audio_encoder_.get(), 128000);
|
||||
}
|
||||
|
||||
TEST_P(AudioDecoderOpusTest, EncodeDecode) {
|
||||
// TODO(webrtc:11325) Reenable after Opus has been upgraded to 1.3.
|
||||
TEST_P(AudioDecoderOpusTest, DISABLED_EncodeDecode) {
|
||||
constexpr int tolerance = 6176;
|
||||
const int channel_diff_tolerance = opus_sample_rate_hz_ == 16000 ? 6 : 0;
|
||||
constexpr double mse = 238630.0;
|
||||
|
|
|
@ -105,7 +105,8 @@ TEST_F(NetEqDecodingTest, MAYBE_TestBitExactness) {
|
|||
#else
|
||||
#define MAYBE_TestOpusBitExactness DISABLED_TestOpusBitExactness
|
||||
#endif
|
||||
TEST_F(NetEqDecodingTest, MAYBE_TestOpusBitExactness) {
|
||||
// TODO(webrtc:11325) Reenable after Opus has been upgraded to 1.3.
|
||||
TEST_F(NetEqDecodingTest, DISABLED_TestOpusBitExactness) {
|
||||
const std::string input_rtp_file =
|
||||
webrtc::test::ResourcePath("audio_coding/neteq_opus", "rtp");
|
||||
|
||||
|
@ -134,7 +135,8 @@ TEST_F(NetEqDecodingTest, MAYBE_TestOpusBitExactness) {
|
|||
#else
|
||||
#define MAYBE_TestOpusDtxBitExactness DISABLED_TestOpusDtxBitExactness
|
||||
#endif
|
||||
TEST_F(NetEqDecodingTest, MAYBE_TestOpusDtxBitExactness) {
|
||||
// TODO(webrtc:11325) Reenable after Opus has been upgraded to 1.3.
|
||||
TEST_F(NetEqDecodingTest, DISABLED_TestOpusDtxBitExactness) {
|
||||
const std::string input_rtp_file =
|
||||
webrtc::test::ResourcePath("audio_coding/neteq_opus_dtx", "rtp");
|
||||
|
||||
|
|
Loading…
Reference in a new issue