← All projects
Project record1 mention
Originally shared on Hacker News

Rust WebRTC WebSocket Signaling Server

A basic WebSocket signaling server written in Rust and implemented from RFC 6455 at the protocol level, built as a first step toward a lightweight WebRTC media server with SFU capabilities. The accompanying frontend demo uses Angular and the native RTCPeerConnection API (no external WebRTC libraries) to handle peer signaling such as exchanging offers and answers. Media and security handling are not implemented yet, and each WebSocket connection currently spawns a new thread, with plans to rework using Tokio for better performance.

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Rust WebRTC WebSocket Signaling Server

    A basic WebSocket signaling server written in Rust and implemented from RFC 6455 at the protocol level, built as a first step toward a lightweight WebRTC media server with SFU capabilities. The accompanying frontend demo uses Angular and the native RTCPeerConnection API (no external WebRTC libraries) to handle peer signaling such as exchanging offers and answers. Media and security handling are not implemented yet, and each WebSocket connection currently spawns a new thread, with plans to rework using Tokio for better performance.

    Posted by @knymida · Original source ↗

    Source text · @knymida · · Source ↗

    To get there, I'm breaking it down into smaller projects. The first one: a basic WebSocket signaling server written in Rust (based on RFC 6455). I'm also learning Rust, so this was a good way to build something real while figuring things out.