diff --git a/react/features/base/lib-jitsi-meet/native/polyfills-webrtc.js b/react/features/base/lib-jitsi-meet/native/polyfills-webrtc.js index 4754421dc..f86c0787a 100644 --- a/react/features/base/lib-jitsi-meet/native/polyfills-webrtc.js +++ b/react/features/base/lib-jitsi-meet/native/polyfills-webrtc.js @@ -2,6 +2,7 @@ import { MediaStream, MediaStreamTrack, RTCSessionDescription, + RTCIceCandidate, getUserMedia } from 'react-native-webrtc'; @@ -20,6 +21,9 @@ import RTCPeerConnection from './RTCPeerConnection'; if (typeof global.RTCSessionDescription === 'undefined') { global.RTCSessionDescription = RTCSessionDescription; } + if (typeof global.RTCIceCandidate === 'undefined') { + global.RTCIceCandidate = RTCIceCandidate; + } const navigator = global.navigator;