peerjs icon indicating copy to clipboard operation
peerjs copied to clipboard

Cannot take video calls on Firefox 45.0.2

Open shehantissera opened this issue 10 years ago • 3 comments

I can receive calls but it disconnects automatically. When I try to take a call this is the issue I get.

peernew.js is the same file as http://cdn.peerjs.com/0.3.14/peer.js

TypeError: pc is undefined [5]</Negotiator._makeOffer() peernew.js:602 [5]</Negotiator._setupListeners/pc.onnegotiationneeded() peernew.js:555 RTCPeerConnection.prototype.dispatchEvent() PeerConnection.js:611 PeerConnectionObserver.prototype.dispatchEvent() PeerConnection.js:1228 PeerConnectionObserver.prototype.onNegotiationNeeded() PeerConnection.js:1288 RTCPeerConnection.prototype.addTrack() PeerConnection.js:1003 RTCPeerConnection.prototype.addStream/<() PeerConnection.js:974 forEach() self-hosted:208 RTCPeerConnection.prototype.addStream() PeerConnection.js:974 [5]</Negotiator.startConnection() peernew.js:413 MediaConnection() peernew.js:313 [6]</Peer.prototype.call() peernew.js:1017 $scope.call() chat.js:182 anonymous/fn() angular.js line 13628 > Function:2 expensiveCheckFn() angular.js:14610 ngEventHandler/</callback() angular.js:24071 $RootScopeProvider/this.$get</Scope.prototype.$eval() angular.js:16359 $RootScopeProvider/this.$get</Scope.prototype.$apply() angular.js:16459 ngEventHandler/<() angular.js:24076 n.event.dispatch() jquery.min.js:3 n.event.add/r.handle() jquery.min.js:3

Has anybody already faced this issue?

shehantissera avatar Apr 17 '16 18:04 shehantissera

I have faced the same problem in latest FF and chrome . Is there any solution please?

sharif2008 avatar Apr 20 '16 18:04 sharif2008

See https://github.com/peers/peerjs/issues/355 for more info on this

RobinHSanner avatar Aug 31 '16 22:08 RobinHSanner

Fixed with #419

kidandcat avatar Jun 04 '18 18:06 kidandcat