Advertisement
Guest User

Untitled

a guest
Feb 26th, 2020
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement