Commit 3d1a6860 authored by Philipp Hancke's avatar Philipp Hancke Committed by Commit Bot

webrtc: remove google ice sdp munging

GICE was removed in M43

BUG=webrtc:4299

Change-Id: Ia993601e16948de380ed968e3d1ead2e5bf7a34b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2552868Reviewed-by: default avatarHarald Alvestrand <hta@chromium.org>
Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com>
Cr-Commit-Position: refs/heads/master@{#830160}
parent 56917239
......@@ -33,7 +33,7 @@
// Test that we can setup call with legacy settings.
function callWithLegacySdp() {
setOfferSdpTransform(function(sdp) {
return removeBundle(useGice(useExternalSdes(sdp)));
return removeBundle(useExternalSdes(sdp));
});
createConnections({
'mandatory': {'RtpDataChannels': true, 'DtlsSrtpKeyAgreement': false}
......@@ -285,13 +285,6 @@
return sdp.replace(/a=group:BUNDLE .*\r\n/g, '');
}
function useGice(sdp) {
sdp = sdp.replace(/t=.*\r\n/g, function(subString) {
return subString + 'a=ice-options:google-ice\r\n';
});
return sdp;
}
function useExternalSdes(sdp) {
// Remove current crypto specification.
sdp = sdp.replace(/a=crypto.*\r\n/g, '');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment