webrtc / samples

WebRTC Web demos and samples
https://webrtc.github.io/samples
BSD 3-Clause "New" or "Revised" License
13.94k stars 5.71k forks source link

datachannel: add example for two tabs #1553

Closed fippo closed 1 year ago

fippo commented 2 years ago

using broadcast channel like for https://webrtc.github.io/samples/src/content/peerconnection/channel/

Fixes #1325

fippo commented 2 years ago

I wonder if we should remove https://webrtc.github.io/samples/src/content/datachannel/messaging/ -- it ends up being rather confusing by trying to do things in a single tab

fippo commented 1 year ago

looks like the other sample is bust as has been for a while without anyone noticing which suggests it is safe to remove.