Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

This is a libp2p transport using webrtc and an other transport for exchange of SDP,

Notifications You must be signed in to change notification settings

Jorropo/go-webrtc-aside-transport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go webrtc aside transport

WIP This transport is currently under devlopement, features may not work at all.

This transport is a webrtc wrapper for libp2p.

This transport uses webrtc dtls for security, and sctp for muxing layer.

This transport is fully avaible in the browser using WASM, an js wrapper will come.

This transport aim to allow high quality desktop <-> browser, browser <-> browser connection.

SDP Exchange

The exchange of SDP is made using trickle through an libp2p stream, so to dial an webrtc aside transport libp2p first dial through an transport such as ws or circuit, then the connection could be used to build an webrtc udp faster one.

STUN Server

There is currently 2 way for finding STUN server:

  • Pre known, these are simply in the config.
  • DHT (not even drafted), some libp2p nodes publicly accesible on internet will run integrated STUN server and advertise them in the dht.

About

This is a libp2p transport using webrtc and an other transport for exchange of SDP,

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published