UNPKG

rtc-link

Version:

A library for managing WebRTC connections with multiplexed streams, anti-glare handling, and streamlined data channel setup.

7 lines (6 loc) 217 B
import {Subject} from "rxjs"; // Here for safety at first, but will ensure error handling is good sub-sequentially. export const error$ = new Subject(); error$.subscribe(e => { console.error("wrtc error", e); });