peerjs icon indicating copy to clipboard operation
peerjs copied to clipboard

Call not working without page refresh

Open IbnAhmed opened this issue 4 years ago • 4 comments

I am using peerjs in the vue.js application. I am keeping the peerjs related code in a component, that component is a popup. whenever I need to make a video call, I open that popup and run the peerjs related code. First-time video call works, but from the second-time video doesn't work anymore. It only works If I refresh the page.

console error image image

How can I solve this issue?

N.B: I am destroying peerjs instance every time after popup closed, and initiating new instance when popup open.

IbnAhmed avatar Feb 11 '21 13:02 IbnAhmed

I have the same issue.

stacklast avatar Feb 20 '22 17:02 stacklast

@stacklast, I didn't find any solution for that issue. So, I changed the way of video-call. Instead of opening the video-call in popup, I am opening it in a new window.

IbnAhmed avatar Feb 21 '22 02:02 IbnAhmed

hi @IbnAhmed, yeah it's the same for me, right now I have all working without libraries using angular and WebRTC vanilla, without page refresh, I have that in popup too.

stacklast avatar Feb 21 '22 02:02 stacklast

great @stacklast

IbnAhmed avatar Feb 21 '22 03:02 IbnAhmed