Hacker News new | ask | show | jobs
Issues with PeerJS and Cordova plugin iOS-RTC, any ideas?
1 points by dardanth 1915 days ago
You can find more about this issue on this link:

https://github.com/cordova-rtc/cordova-plugin-iosrtc/issues/657

1 comments

To be more precise:

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

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.