license Zone . __load_patch ( 'RTCPeerConnection' , ( global , Zone , api ) => { const RTCPeerConnection = global [ 'RTCPeerConnection' ] ; if ( ! RTCPeerConnection ) { return ; } const addSymbol = api . symbol ( 'addEventListener' ) ; const removeSymbol = api . symbol ( 'removeEventListener' ) ; RTCPeerConnection . prototype . addEventListener = RTCPeerConnection . prototype [ addSymbol ] ; RTCPeerConnection . prototype . removeEventListener = RTCPeerConnection . prototype [ removeSymbol ] ; RTCPeerConnection . prototype [ addSymbol ] = null ; RTCPeerConnection . prototype [ removeSymbol ] = null ; api . patchEventTarget ( global , [ RTCPeerConnection . prototype ] , { useG : false } ) ; } ) ;