A libp2p transport that enables browser-to-server, and server-to-server, direct communication over WebRTC without requiring signalling servers
Go to file
backkem 006488daf2 Workaround for packet based DataChannel. 2019-08-05 21:29:38 +02:00
examples Migrate to webrtc v2.0.16 and go-libp2p-core 2019-08-05 21:29:38 +02:00
.gitignore Initial POC 2018-09-30 21:33:55 +02:00
.travis.yml Run basic tests with race detector 2019-08-05 21:29:38 +02:00
LICENSE Create LICENSE 2018-12-31 13:41:55 +01:00
README.md Update dependencies 2019-04-19 09:22:41 +02:00
conn.go Workaround for packet based DataChannel. 2019-08-05 21:29:38 +02:00
go.mod Migrate to webrtc v2.0.27. 2019-08-05 21:29:38 +02:00
go.sum Migrate to webrtc v2.0.27. 2019-08-05 21:29:38 +02:00
listener.go Migrate to webrtc v2.0.16 and go-libp2p-core 2019-08-05 21:29:38 +02:00
signaling.go Update dependencies 2019-04-19 09:22:41 +02:00
stream.go Update dependencies 2019-04-19 09:22:41 +02:00
transport.go Migrate to webrtc v2.0.16 and go-libp2p-core 2019-08-05 21:29:38 +02:00
transport_test.go Migrate to webrtc v2.0.16 and go-libp2p-core 2019-08-05 21:29:38 +02:00
webrtcdirect.go Migrate to webrtc v2.0.16 and go-libp2p-core 2019-08-05 21:29:38 +02:00
webrtcdirect_test.go Workaround for packet based DataChannel. 2019-08-05 21:29:38 +02:00

README.md

go-libp2p-webrtc-direct

GoDoc CoverageStatus BuildStatus

A transport that enables browser-to-server, and server-to-server, direct communication over WebRTC without requiring signalling servers. This is the Go counterpart to js-libp2p-webrtc-direct.

⚠️ Status: Alpha. ⚠️

Lead maintainer: @backkem

Special thanks to @pion for their fantastic WebRTC Go library, which made this libp2p transport possible.

Install

This package supports gomod builds.

go get github.com/libp2p/go-libp2p-webrtc-direct

Usage

Check out the GoDocs.

Examples

Check the examples folder for usage and integration examples.

Contribute

Feel free to join in. All welcome. Open an issue or send a PR.

This repository falls under the IPFS Code of Conduct.

License

MIT