pg_webrtc
pg_webrtc · Early WebRTC runtime boundary for PostgreSQL with a preloaded background worker.
Overview
PostgreSQL · 18
Usage
Sources:
pg_webrtc 0.1.0 is an early PostgreSQL 18 preload extension that links pgrx 0.19.2 with webrtc-rs and establishes a background-worker process boundary. Its only SQL surface is build information:
The worker is registered only when PostgreSQL loads the library during server startup. To use it, add the library to shared_preload_libraries and restart PostgreSQL:
Current Boundary
The worker currently owns a Tokio runtime and remains idle; it does not yet expose peer-connection, offer/answer, ICE-candidate, or data-channel SQL commands. The extension is intentionally superuser-only, non-relocatable, and may eventually open network sockets. Treat it as a runtime/process-boundary prototype, not a usable WebRTC API. The upstream repository declares no license, which must be resolved before redistribution.