We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c0ad84 commit dbdd7aeCopy full SHA for dbdd7ae
src/react-native-webrtc-web-shim.web.js
@@ -5,6 +5,10 @@ window.MediaStream.prototype.release = function release() {
5
this.getTracks().forEach((track) => track.stop());
6
};
7
8
+window.MediaStreamTrack.prototype._switchCamera = function switchCamera() {
9
+ console.warn('_switchCamera not implemented on web');
10
+};
11
+
12
window.RTCPeerConnection.prototype.addStream = function addStream(stream) {
13
stream.getTracks().forEach((track) => this.addTrack(track, stream));
14
0 commit comments