A libp2p transport that enables browser-to-server, and server-to-server, direct communication over WebRTC without requiring signalling servers
Go to file
Marten Seemann 5bfe305862 fix int to string conversion, update Go version on CI 2020-12-19 12:40:30 +01: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 fix int to string conversion, update Go version on CI 2020-12-19 12:40:30 +01: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 Use default test suite. 2020-01-06 20:44:03 +01:00
go.sum Use default test suite. 2020-01-06 20:44:03 +01:00
listener.go use the manet dial args in order to figure out the listener 2019-08-21 20:10:26 +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 fix int to string conversion, update Go version on CI 2020-12-19 12:40:30 +01:00
webrtcdirect.go Migrate to webrtc v2.0.16 and go-libp2p-core 2019-08-05 21:29:38 +02:00
webrtcdirect_test.go Use default test suite. 2020-01-06 20:44:03 +01: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