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 second call, 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
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.