Skip to content

Midsession Reoffer #2333

Answered by Sean-Der
gbfarah asked this question in General
Oct 17, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

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

  • Signaling - Not a problem
  • ICE - Not a problem. You can do a ICE Restart
  • DTLS - Technically possible, not supported in Pion. You can do a DTLS Restart this will re-establish the crypto session.
  • SCTP - Not technically possible today. WebRTC doesn't have a concept of a 'SCTP Restart'. One PeerConnection will have a established SCTP session and the other…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gbfarah
Comment options

Answer selected by Sean-Der
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants