Skip to content

isaquecsilva/go-webrtc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go-WebRTC

Go-WebRTC-Logo

Golang WebRTC server implementation.

How does it works?

  • A user, will enter the platform, at root route, and can opt for stream or watch a stream.

  • When theres a user streaming its screen, other users, can then opt for watch the stream.

How to run

Installing dependencies:

$ go mod tidy

Building:

  • Directly using Go:
$ go build -ldflags='-s -w' -trimpath -o ./bin/go-webrtc ./cmd
  • Using Makefile:
$ make build

Running:

./bin/go-webrtc

Specify the address and port to bind to through cli argument -addr. Like so:

./bin/go-webrtc -addr 192.168.2.44:3000

Tech Stack:

Backend:

  • Golang HTTP Server (stdlib);
  • gorilla/websocket;

Frontend:

  • HTML, Css and Javascript;
  • MediaDevices Web-Api;
  • WebSocket Web-Api;

License:

This project is under MIT software license.

About

Golang WebRTC server implementation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published