mirror of
https://github.com/logos-messaging/examples.waku.org.git
synced 2026-01-02 12:53:08 +00:00
State of this example: work in progress
What's done:
- By using
js-noiseusers can establish secure communication channel. - This channel is used to exchange
offer/answerto initiate direct WebRTC connection.
What should be done:
STUNserver: in order not to loose benefits of peer-to-peer protocols used underneath we should find a way to be able to retrieve coordinates of a user to buildoffer/answerby not involving oneSTUNserver for it;TURNserver: similarly to prev point we should be able to cover a need to create WebRTC connection for users who are behind secureNATand are not able to communicated just as it is.
Additional reading that explains why STUN/TURN is not easily removable from the equation: https://github.com/libp2p/specs/pull/497/files#diff-2cb0b0dcc282bd123b21f5a0610e8a01b516fc453b95c655cf7e16734f2f7b11R48-R53