Skip to content

evilbream/p2p-call

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

p2p-call

Build App

For Windows 64-bit

GOOS=windows GOARCH=amd64 go build -o p2p-call.exe ./cmd/main.go

For Windows 32-bit

GOOS=windows GOARCH=386 go build -o p2p-call-32.exe ./cmd/main.go

For Windows ARM64

GOOS=windows GOARCH=arm64 go build -o p2p-call-arm64.exe ./cmd/main.go

Docker

Build Docker image

docker build -t p2p-call .

Run interactively with environment file

docker run -it --env-file .env p2p-call
# HTTP port 8080 and HTTPS port 8443
docker run -it --env-file .env -p 8442:8443 p2p-call

docker run -it --rm --env-file .env --privileged p2p-call

Build Options

Codec Selection

You can choose between two audio codecs in cmd/main.go:

PCMU (G.711 μ-law) Build without CGO, pure Go:

audioCfg := config.NewPCMUConfig() 

opus - - Build with CGO only, required libopus

audioCfg := config.NewOpusConfig()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published