diff --git a/src/js/chrome/chrome_shim.js b/src/js/chrome/chrome_shim.js index e290369aa..f5d6720f9 100644 --- a/src/js/chrome/chrome_shim.js +++ b/src/js/chrome/chrome_shim.js @@ -410,7 +410,7 @@ export function shimAddTrackRemoveTrack(window) { // shim addTrack and removeTrack. if (window.RTCPeerConnection.prototype.addTrack && browserDetails.version >= 65) { - return this.shimAddTrackRemoveTrackWithNative(window); + return shimAddTrackRemoveTrackWithNative(window); } // also shim pc.getLocalStreams when addTrack is shimmed