Remove enable_dtls_srtp option
This is part of the removal of support for SDES. Bug: webrtc:11066 Change-Id: I448d0e0032672c04c87b00550ab4b9d792071a0b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/234864 Reviewed-by: Henrik Boström <hbos@webrtc.org> Commit-Queue: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35262}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
aaa848e078
commit
f9e502d935
@ -264,30 +264,6 @@ TEST_P(PeerConnectionIntegrationTest, EndToEndCallWithDtls) {
|
||||
webrtc::kEnumCounterKeyProtocolSdes));
|
||||
}
|
||||
|
||||
// Uses SDES instead of DTLS for key agreement.
|
||||
TEST_P(PeerConnectionIntegrationTest, EndToEndCallWithSdes) {
|
||||
PeerConnectionInterface::RTCConfiguration sdes_config;
|
||||
sdes_config.enable_dtls_srtp.emplace(false);
|
||||
ASSERT_TRUE(CreatePeerConnectionWrappersWithConfig(sdes_config, sdes_config));
|
||||
ConnectFakeSignaling();
|
||||
|
||||
// Do normal offer/answer and wait for some frames to be received in each
|
||||
// direction.
|
||||
caller()->AddAudioVideoTracks();
|
||||
callee()->AddAudioVideoTracks();
|
||||
caller()->CreateAndSetAndSignalOffer();
|
||||
ASSERT_TRUE_WAIT(SignalingStateStable(), kDefaultTimeout);
|
||||
MediaExpectations media_expectations;
|
||||
media_expectations.ExpectBidirectionalAudioAndVideo();
|
||||
ASSERT_TRUE(ExpectNewFrames(media_expectations));
|
||||
EXPECT_METRIC_LE(
|
||||
2, webrtc::metrics::NumEvents("WebRTC.PeerConnection.KeyProtocol",
|
||||
webrtc::kEnumCounterKeyProtocolSdes));
|
||||
EXPECT_METRIC_EQ(
|
||||
0, webrtc::metrics::NumEvents("WebRTC.PeerConnection.KeyProtocol",
|
||||
webrtc::kEnumCounterKeyProtocolDtls));
|
||||
}
|
||||
|
||||
// Basic end-to-end test specifying the `enable_encrypted_rtp_header_extensions`
|
||||
// option to offer encrypted versions of all header extensions alongside the
|
||||
// unencrypted versions.
|
||||
|
||||
Reference in New Issue
Block a user