This is a sample to try WebRTC SFU.
I use pion/webrtc and refer example-webrtc-applications/sfu-ws.
For signaling and sending text messages, I use Sever-Sent Events.
- Go ver.go1.19 windows/amd64
- Node.js ver.18.7.0
- [Go] Try Server-Sent Events
- [Go] Try Pion/WebRTC with SSE
- [Go][Pion/WebRTC] Closing chan and adding DataChannel
- [Pion/WebRTC] Enabling and disabling the video track
- [WebRTC][Web Audio API] Identify who is vocalizing
Before you run this project, you need add "WEBRTCAPP_URL={Your server address}" as a enviroment variable.
MIT