diff options
Diffstat (limited to 'third_party/libwebrtc/pc/peer_connection_end_to_end_unittest.cc')
-rw-r--r-- | third_party/libwebrtc/pc/peer_connection_end_to_end_unittest.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/third_party/libwebrtc/pc/peer_connection_end_to_end_unittest.cc b/third_party/libwebrtc/pc/peer_connection_end_to_end_unittest.cc index a21d455ec5..5881cf45b5 100644 --- a/third_party/libwebrtc/pc/peer_connection_end_to_end_unittest.cc +++ b/third_party/libwebrtc/pc/peer_connection_end_to_end_unittest.cc @@ -319,8 +319,7 @@ struct AudioEncoderUnicornSparklesRainbow { using Config = webrtc::AudioEncoderL16::Config; static absl::optional<Config> SdpToConfig(webrtc::SdpAudioFormat format) { if (absl::EqualsIgnoreCase(format.name, "UnicornSparklesRainbow")) { - const webrtc::SdpAudioFormat::Parameters expected_params = { - {"num_horns", "1"}}; + const webrtc::CodecParameterMap expected_params = {{"num_horns", "1"}}; EXPECT_EQ(expected_params, format.parameters); format.parameters.clear(); format.name = "L16"; @@ -356,8 +355,7 @@ struct AudioDecoderUnicornSparklesRainbow { using Config = webrtc::AudioDecoderL16::Config; static absl::optional<Config> SdpToConfig(webrtc::SdpAudioFormat format) { if (absl::EqualsIgnoreCase(format.name, "UnicornSparklesRainbow")) { - const webrtc::SdpAudioFormat::Parameters expected_params = { - {"num_horns", "1"}}; + const webrtc::CodecParameterMap expected_params = {{"num_horns", "1"}}; EXPECT_EQ(expected_params, format.parameters); format.parameters.clear(); format.name = "L16"; |