UNPKG

node-datachannel

Version:

WebRTC For Node.js and Electron. libdatachannel node bindings.

45 lines (42 loc) 1.2 kB
import nodeDataChannel from './node-datachannel.mjs'; import DataChannelStream$1 from './datachannel-stream.mjs'; import { WebSocketServer } from './websocket-server.mjs'; import { WebSocket } from './websocket.mjs'; function preload() { nodeDataChannel.preload(); } function initLogger(level) { nodeDataChannel.initLogger(level); } function cleanup() { nodeDataChannel.cleanup(); } function setSctpSettings(settings) { nodeDataChannel.setSctpSettings(settings); } const Audio = nodeDataChannel.Audio; const Video = nodeDataChannel.Video; const Track = nodeDataChannel.Track; const DataChannel = nodeDataChannel.DataChannel; const PeerConnection = nodeDataChannel.PeerConnection; class RtcpReceivingSession { // } const DataChannelStream = DataChannelStream$1; var n = { initLogger, cleanup, preload, setSctpSettings, RtcpReceivingSession, Track, Video, Audio, DataChannel, PeerConnection, WebSocket, WebSocketServer, DataChannelStream }; export { Audio, DataChannel, DataChannelStream, PeerConnection, RtcpReceivingSession, Track, Video, WebSocket, WebSocketServer, cleanup, n as default, initLogger, preload, setSctpSettings }; //# sourceMappingURL=index.mjs.map