Is there a way to serialize Peer
object?
#1093
-
I wanted to share the |
Beta Was this translation helpful? Give feedback.
Answered by
jonasgloning
Jun 19, 2023
Replies: 1 comment
-
Serializing is not possible, as you can transfer neither the WebRTC connection nor the connection to the PeerServer. I think the main problem is that WebRTC itself is not available in a Worker.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
DeepBhat
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Serializing is not possible, as you can transfer neither the WebRTC connection nor the connection to the PeerServer.
I think the main problem is that WebRTC itself is not available in a Worker.
Working around that, you could: