-
Hi, Conceptually I've tried two solution and both have failed . Solution 1 is most ideal but I understand if their is a WebRTC limitation I'm missing. Solution 1 1- Server create a WebRTC offer.... The SDP for this offer is cached by signalling app In the above conceptually I can't see why using an old server offer to a new browser doesn't work . From a crypto perspective all required info is known by each of the browsers Solution 2 I'm a little confused by neither of these solutions works and prefer not to destroy and recreate peer connections Many thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @gbfarah Re-establishing a WebRTC connection across pages refreshes isn't supported by WebRTC. It will take some effort to make work. I would suggest moving your state into a generalized container. I will explain below why it is difficult. I am going to use terms explained in WebRTC for the Curious Moving through the subsystems in WebRTC
If you are really interested in making this work it is technically possible. It is a decent amount of effort though. My recommendation would be to implement a layer of redirection in your application to support users refreshing. If you are really interested in making this work I am happy to support you implementing this in Pion! |
Beta Was this translation helpful? Give feedback.
Hey @gbfarah
Re-establishing a WebRTC connection across pages refreshes isn't supported by WebRTC. It will take some effort to make work. I would suggest moving your state into a generalized container.
I will explain below why it is difficult. I am going to use terms explained in WebRTC for the Curious
Moving through the subsystems in WebRTC