Open tiavina-mika opened 9 months ago
I can confirm, that I have the same issue.
Link to minimal reproduction example: https://github.com/tim-hilt/syncedstore/blob/webrtc-minimal-repro/app/page.tsx
It works with y-websocket
though.
90% sure this is because the default signaling servers have crashed. Host your own and things seem to work.
I had problems with firefox using this library, maybe it's related.
@iamnafets I also have same problem, but I found out that when we console.log peers, they are being added to bcPeers, not to the webrtcPeers. But I dont know how to make them add in the webrtcPeers
{
"added": [
"1348b4c7-04f9-465b-98d3-55f1c211926f"
],
"removed": [],
"webrtcPeers": [],
"bcPeers": [
"1348b4c7-04f9-465b-98d3-55f1c211926f"
]
}
Checklist
Describe the bug The editor content is sync across the tabs of the same browsers. But it does not sync with different browsers.
To Reproduce Steps to reproduce the behavior:
Expected behavior The editor content should be the same on different browsers.
Environment Information