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
@ -25,7 +25,6 @@ bool Matches(const PeerConnectionInterface::RTCConfiguration& a,
|
||||
b.audio_jitter_buffer_max_packets &&
|
||||
a.screencast_min_bitrate == b.screencast_min_bitrate &&
|
||||
a.combined_audio_video_bwe == b.combined_audio_video_bwe &&
|
||||
a.enable_dtls_srtp == b.enable_dtls_srtp &&
|
||||
a.media_config == b.media_config;
|
||||
}
|
||||
|
||||
@ -60,12 +59,9 @@ TEST(MediaConstraints, CopyConstraintsIntoRtcConfiguration) {
|
||||
// An empty set of constraints will not overwrite
|
||||
// values that are already present.
|
||||
configuration = old_configuration;
|
||||
configuration.enable_dtls_srtp = true;
|
||||
configuration.audio_jitter_buffer_max_packets = 34;
|
||||
CopyConstraintsIntoRtcConfiguration(&constraints_empty, &configuration);
|
||||
EXPECT_EQ(34, configuration.audio_jitter_buffer_max_packets);
|
||||
ASSERT_TRUE(configuration.enable_dtls_srtp);
|
||||
EXPECT_TRUE(*(configuration.enable_dtls_srtp));
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user