data-channels-simple

command
v4.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2025 License: MIT Imports: 4 Imported by: 0

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

  1. Run the server:
go run main.go
  1. Open browser at http://localhost:8080

  2. Send messages via DataChannel and see them in terminal & browser logs.

Documentation

Overview

simple-datachannel is a simple datachannel demo that auto connects.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL