GitXplorerGitXplorer
n

go-webrtc-piping

public
14 stars
1 forks
2 issues

Commits

List of commits on branch develop.
Verified
fa508990572afc36cde21f0fb9bf702f026a667d

build(deps): bump github.com/pion/webrtc/v3 from 3.3.4 to 3.3.5 (#84)

ddependabot[bot] committed a month ago
Verified
c0be3e1b0699937e85f53e56461bf4665fab2c79

build(deps): bump github.com/pion/webrtc/v3 from 3.3.3 to 3.3.4 (#82)

ddependabot[bot] committed 3 months ago
Verified
ba0f9025d9f342411d9f5c3f2d86bc198eecc994

build(deps): bump github.com/pion/interceptor from 0.1.31 to 0.1.37 (#83)

ddependabot[bot] committed 3 months ago
Verified
1bcafa6e3c484814bc8d65817422ecbf1c2c3b84

build(deps): bump github.com/pion/interceptor from 0.1.30 to 0.1.31 (#80)

ddependabot[bot] committed 3 months ago
Verified
4205e45a2b85ef59a5718bdf600ef67a15b32c7b

build(deps): bump github.com/pion/webrtc/v3 from 3.3.1 to 3.3.3 (#79)

ddependabot[bot] committed 4 months ago
Verified
3f753716ed3155fef313076579252f53c156c35f

build(deps): bump github.com/pion/interceptor from 0.1.29 to 0.1.30 (#76)

ddependabot[bot] committed 4 months ago

README

The README file for this repository.

go-webrtc-piping

CI

WebRTC P2P tunneling/duplex with Piping Server WebRTC signaling

Install for Windows

Download

Install for macOS

brew install nwtgck/webrtc-piping/webrtc-piping

Install for Ubuntu

wget https://github.com/nwtgck/go-webrtc-piping/releases/download/v0.3.0/webrtc-piping-0.3.0-linux-amd64.deb
sudo dpkg -i webrtc-piping-0.3.0-linux-amd64.deb 

Get more executables in the releases.

TCP tunneling

The following command forwards 8888 port to 9999 port.

webrtc-piping tunnel 8888 mypath 
webrtc-piping tunnel -l 9999 mypath

UDP tunneling

Adding -u or --udp option forwards UDP port.

webrtc-piping tunnel -u 8888 mypath 
webrtc-piping tunnel -ul 9999 mypath

Full-duplex

echo hello1 | webrtc-piping duplex mypath1 mypath2
# => hello2
echo hello2 | webrtc-piping duplex mypath2 mypath1
# => hello1

Without ICE servers

Specify --ice-servers='[]'.

Help

WebRTC tunnel with Piping Server WebRTC signaling

Usage:
  webrtc-piping [flags]
  webrtc-piping [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  duplex      Duplex communication
  help        Help about any command
  tunnel      Tunneling TCP or UDP

Flags:
      --dns-server string    DNS server (e.g. 1.1.1.1:53)
  -H, --header stringArray   HTTP header
  -h, --help                 help for webrtc-piping
      --ice-servers json     ICE servers (default [{"urls":["stun:stun.l.google.com:19302"]}])
  -k, --insecure             Allow insecure server connections when using SSL
  -s, --server string        Piping Server URL (default "https://ppng.io")
  -v, --verbose              verbose output
  -V, --version              show version

Use "webrtc-piping [command] --help" for more information about a command.