Skip to content

Commit

Permalink
Fix nowebrtc.js scriptlet
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Jan 25, 2019
1 parent 0bdfb5f commit ce215ed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion filters/resources.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1323,7 +1323,10 @@ nowebrtc.js application/javascript
close: noop,
createDataChannel: noop,
createOffer: noop,
setRemoteDescription: noop
setRemoteDescription: noop,
toString: function() {
return '[object RTCPeerConnection]';
}
};
var z = window[rtcName];
window[rtcName] = pc.bind(window);
Expand Down

0 comments on commit ce215ed

Please sign in to comment.