SHARE
TWEET

Untitled

a guest Feb 26th, 2020 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const options = Cli.parse(process.argv)
  2. //const server  = new Hub(options.config, (...args: any[]) => {
  3. const server  = new Hub (
  4.         {
  5.                 "iceServers": [
  6.                         { "urls": "turn:tachy0n.com:2222",
  7.                           "credential": 'turn',
  8.                           "username": 'smoke'
  9.                         }
  10.                 ]
  11.         }, (...args: any[]) => {
  12.   if(options.trace) {
  13.     console.log(args)
  14.   }
  15. })
  16. server.listen(options.port)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top