command
Version:
v4.1.7
Opens a new window with list of versions in this module.
Published: Dec 5, 2025
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
WebRTC DataChannel Example in Go
This is a minimal example of a WebRTC DataChannel using Go (Pion) as the signaling server.
Features
- Go server for signaling
- Browser-based DataChannel
- ICE candidate exchange
- Real-time messaging between browser and Go server
Usage
- Run the server:
go run main.go
-
Open browser at http://localhost:8080
-
Send messages via DataChannel and see them in terminal & browser logs.
Documentation
¶
simple-datachannel is a simple datachannel demo that auto connects.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.