From ab6863236cf80087efc8c62135ab3595e964bee4 Mon Sep 17 00:00:00 2001 From: Jaya Allamsetty Date: Fri, 23 Feb 2024 16:54:04 -0500 Subject: [PATCH] fix(TPC): Run the DD ext header check on all browsers. We do not want non Chromium browsers to negotiate DD ext headers when VP8/VP9 is the selected codec. Fixes poor video quality issue for Safari when Av1 is offered by Jicofo. --- modules/RTC/TraceablePeerConnection.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/RTC/TraceablePeerConnection.js b/modules/RTC/TraceablePeerConnection.js index cc039c2cff..f0d40bde99 100644 --- a/modules/RTC/TraceablePeerConnection.js +++ b/modules/RTC/TraceablePeerConnection.js @@ -1425,10 +1425,6 @@ TraceablePeerConnection.prototype._mungeCodecOrder = function(description) { * @returns {RTCSessionDescription} the munged description. */ TraceablePeerConnection.prototype._updateAv1DdHeaders = function(description) { - if (!browser.supportsScalabilityModeAPI()) { - return description; - } - const parsedSdp = transform.parse(description.sdp); const mLines = parsedSdp.media.filter(m => m.type === MediaType.VIDEO);