iosrtc peerjs not working #660
-
I have VideoCall System developed through Ionic Cordova with PeerJS, it works properly on Android. Now that I deployed to iOS from cordova, whenever I make a second call (in the first time it always works), it always set an error: The PluginMediaStream with this id "any id" already exists, and cannot join to calls anymore, also the events from peerjs does not trigger. for example: peer.on('stream') does not trigger at all, I used this plugin to handle the MediaStreams, but for some reasons, after the first video call it says MediaStream already exists, How i can I trigger some events if I get a call from peer, onstream, onremove, I tried to remove streams, tracks, and other stuff after ending video call, but it did not work. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
No need to create a discussion AND an issue AND send me an email that overkill. |
Beta Was this translation helpful? Give feedback.
-
See peer JS sample here https://github.com/cordova-rtc/ionic-iosrtc-peerjs |
Beta Was this translation helpful? Give feedback.
See peer JS sample here https://github.com/cordova-rtc/ionic-iosrtc-peerjs