Skip to content

Commit 803054e

Browse files
authored
Remove obsolete sdp string munging
1 parent bbae6cb commit 803054e

File tree

3 files changed

+0
-11
lines changed

3 files changed

+0
-11
lines changed

ringrtc/rffi/BUILD.gn

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ if (is_android) {
5858
"${android_sdk}:libjingle_peerconnection_jni",
5959
"${android_sdk}:libjingle_peerconnection_metrics_default_jni",
6060
"//pc:libjingle_peerconnection",
61-
"//third_party/re2",
6261
]
6362
output_extension = "so"
6463
}
@@ -78,7 +77,6 @@ if (is_ios) {
7877

7978
deps = [
8079
"//third_party/libyuv",
81-
"//third_party/re2",
8280
]
8381
}
8482
}
@@ -94,7 +92,6 @@ if (is_linux || is_mac || is_win) {
9492
deps = [
9593
"//sdk:media_constraints",
9694
"//media:rtc_simulcast_encoder_adapter",
97-
"//third_party/re2",
9895
]
9996
}
10097
}

ringrtc/rffi/src/sdp_observer.cc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
#include "rffi/api/sdp_observer_intf.h"
99
#include "rffi/src/ptr.h"
10-
#include "third_party/re2/src/re2/re2.h"
1110

1211
namespace webrtc {
1312
namespace rffi {
@@ -30,13 +29,8 @@ void CreateSessionDescriptionObserverRffi::OnSuccess(
3029
// OnSuccess transfers ownership of the description
3130
RTC_LOG(LS_INFO) << "CreateSessionDescriptionObserverRffi:OnSuccess(): ";
3231

33-
// TODO tweak the response a little
3432
std::string sdp;
3533
if (session_description->ToString(&sdp)) {
36-
static LazyRE2 ssrc_re = {
37-
".+urn:ietf:params:rtp-hdrext:ssrc-audio-level.*\r?\n"};
38-
RE2::Replace(&sdp, *ssrc_re, "");
39-
4034
std::unique_ptr<SessionDescriptionInterface> session_description2 =
4135
CreateSessionDescription(session_description->GetType(), sdp);
4236
delete session_description;

tools_webrtc/libs/generate_licenses.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@
8080
'jni_zero': ['third_party/jni_zero/LICENSE'],
8181
'protobuf-javascript': ['third_party/protobuf-javascript/LICENSE'],
8282
'perfetto': ['third_party/perfetto/LICENSE'],
83-
# RingRTC change to use RE2 for rffi
84-
're2': ['third_party/re2/LICENSE'],
8583
# TODO(bugs.webrtc.org/1110): Remove this hack. This is not a lib.
8684
# For some reason it is listed as so in _get_third_party_libraries.
8785
'android_deps': [],

0 commit comments

Comments
 (0)