// SPDX-FileCopyrightText: 2023 The Pion community // SPDX-License-Identifier: MIT // This file adds RTCPeerConnection to the global context, making Node.js more // closely match the browser API for WebRTC. const wrtc = require('@roamhq/wrtc') global.window = { RTCPeerConnection: wrtc.RTCPeerConnection } global.RTCPeerConnection = wrtc.RTCPeerConnection