Skip to content

Adding webrtc-based example#2

Open
plauche wants to merge 50 commits intockousik:ckousik/webrtcfrom
plauche:webrtc-example
Open

Adding webrtc-based example#2
plauche wants to merge 50 commits intockousik:ckousik/webrtcfrom
plauche:webrtc-example

Conversation

@plauche
Copy link

@plauche plauche commented Oct 12, 2022

No description provided.

@plauche
Copy link
Author

plauche commented Oct 12, 2022

I'm having some issues getting the import for the webrtc transport to work.

I started with:

$ go build
main.go:19:2: no required module provides package github.com/plauche/go-libp2p/p2p/transport/webrtc; to add it:
	go get github.com/plauche/go-libp2p/p2p/transport/webrtc

So I tried to add it using Chinmay's fork/branch:

$ go get github.com/ckousik/go-libp2p/p2p/transport/webrtc@ckousik/webrtc
go: github.com/ckousik/go-libp2p/p2p/transport/webrtc@ckousik/webrtc: invalid version: version "ckousik/webrtc" invalid: disallowed version string

Then I made my own fork with a more friendly branch name, webrtc, and tried again:

$ go get github.com/plauche/go-libp2p/p2p/transport/webrtc@webrtc
go: github.com/plauche/go-libp2p@v0.20.1-0.20221012133416-6c3bf8a530a6: parsing go.mod:
	module declares its path as: github.com/libp2p/go-libp2p
	        but was required as: github.com/plauche/go-libp2p

And now it seems unhappy that I'm working off a fork.

@ckousik ckousik force-pushed the ckousik/webrtc branch 3 times, most recently from af7c9af to c3b1aa4 Compare November 18, 2022 05:39
@ckousik ckousik force-pushed the ckousik/webrtc branch 2 times, most recently from a33c9c3 to 7d9fe20 Compare December 2, 2022 16:06
@ckousik ckousik force-pushed the ckousik/webrtc branch 3 times, most recently from 3941729 to 648c02a Compare January 14, 2023 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants