In this project we are going to use fiber
websockets and Golang
channels
to create a Real Time Server in order to make
a Real Time Communication system.
Real-Time Communication (RTC) is a development platform for delivering real-time audio and video content, or any kind of media around the world.
Each user connects to server by calling /ws
endpoint
to create a websocket. After that each data is being processed
by our rtc server.
In order to start application you can use in terminal build commands or Docker.
go build -o main
chmod +x ./main
./main --port 8080
docker build . --build-args PORT=8080 -t chat-rtc:v0.1
docker run -d -it --port 8080:8080 char-rtc:v0.1
In your browser open localhost:8080
.