Skip to content

This is broadcasting service on webRTC using websocket and Go/Fiber

License

Notifications You must be signed in to change notification settings

rlaminseok0824/webRTC-broadcasting

Repository files navigation

WebRTC-Broadcasting


Thanks to Fiber & pion webRTC, I make a broadcasting webRTC service on Fiber websocket.

Getting Start

1. Clone Repository

git clone https://github.com/rlaminseok0824/webRTC-broadcasting.git
cd webRTC-broadcasting

2. Install Dependencies

go mod tidy

3. Run Service

go run main.go

Quick Start

  1. you can start with Dockerfile
 docker build -t webrtc-broadcasting .
  1. Then, start docker with below code.
docker run -p 3000:3000 -p 4040:4040 webrtc-broadcasting

Project Structure

📦webRTC-broadcasting  
  ┣ 📂grpc  
 ┃ ┗ 📜server.go  
 ┣ 📂handler  
 ┃ ┣ 📜broadcast.go  
 ┃ ┣ 📜handler.go  
 ┃ ┣ 📜model.go  
 ┃ ┗ 📜view.go  
 ┣ 📂proto  
 ┃ ┣ 📜service.pb.go  
 ┃ ┣ 📜service.proto  
 ┃ ┗ 📜service_grpc.pb.go  
 ┣ 📂utils  
 ┃ ┗ 📜convert.go  
 ┣ 📜.gitignore  
 ┣ 📜Dockerfile  
 ┣ 📜README.md  
 ┣ 📜go.mod  
 ┣ 📜go.sum  
 ┗ 📜main.go

About

This is broadcasting service on webRTC using websocket and Go/Fiber

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published