aboutsummaryrefslogtreecommitdiff
path: root/pc/media_session.cc
diff options
context:
space:
mode:
authorNiels Möller <nisse@webrtc.org>2020-07-15 14:39:16 +0200
committerCommit Bot <commit-bot@chromium.org>2020-07-17 08:28:20 +0000
commit6b8271638bf296fd6d5aa927fcf80e408be38bfd (patch)
tree9a4c07e55e5a813f650e1f4d477ee6bf50aabd2f /pc/media_session.cc
parent13fbc08b938ec14cd9a975898c912911f731059b (diff)
downloadwebrtc-6b8271638bf296fd6d5aa927fcf80e408be38bfd.tar.gz
Delete unused enum values for DataChannelType
Bug: webrtc:9719 Change-Id: I2281636e3beaa2b0e59ac874b609e70e54d61cb7 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/179365 Reviewed-by: Taylor <deadbeef@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31752}
Diffstat (limited to 'pc/media_session.cc')
-rw-r--r--pc/media_session.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/pc/media_session.cc b/pc/media_session.cc
index c03b1bebaa..69ddb0c895 100644
--- a/pc/media_session.cc
+++ b/pc/media_session.cc
@@ -2392,9 +2392,7 @@ bool MediaSessionDescriptionFactory::AddDataContentForOffer(
StreamParamsVec* current_streams,
SessionDescription* desc,
IceCredentialsIterator* ice_credentials) const {
- bool is_sctp =
- (session_options.data_channel_type == DCT_SCTP ||
- session_options.data_channel_type == DCT_DATA_CHANNEL_TRANSPORT_SCTP);
+ bool is_sctp = (session_options.data_channel_type == DCT_SCTP);
// If the DataChannel type is not specified, use the DataChannel type in
// the current description.
if (session_options.data_channel_type == DCT_NONE && current_content) {