Skip to main content

Module rtc

Module rtc 

Source
Expand description

Host-side WebRTC: peer connections, data channels, media tracks, and signaling.

Guests call register_rtc_functions imports from the oxide module to create peer-to-peer connections with SDP offer/answer exchange, ICE candidate trickle, data channel messaging, and media track attachment. A lightweight HTTP-based signaling client is included for bootstrapping connections.

Structs§

RtcState
All RTC state for a tab. Lazily initialised on first api_rtc_* call.

Functions§

register_rtc_functions
Register all api_rtc_* host functions on the given linker.