diff --git a/lib/sylkrtc.js b/lib/sylkrtc.js index ae521ed..0fba4f5 100644 --- a/lib/sylkrtc.js +++ b/lib/sylkrtc.js @@ -1,30 +1,31 @@ 'use strict'; import adapter from 'webrtc-adapter'; import { Connection } from './connection'; import _utils from './utils'; // Public API function createConnection(options = {}) { if (!window.RTCPeerConnection) { throw new Error('WebRTC support not detected'); } const conn = new Connection(options); conn._initialize(); return conn; } const utils = { - 'attachMediaStream' : _utils.attachMediaStream, - 'closeMediaStream' : _utils.closeMediaStream + 'attachMediaStream': _utils.attachMediaStream, + 'closeMediaStream': _utils.closeMediaStream, + 'sanatizeHtml': _utils.sanatizeHtml }; export { createConnection, utils };