Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const options = Cli.parse(process.argv)
- //const server = new Hub(options.config, (...args: any[]) => {
- const server = new Hub (
- {
- "iceServers": [
- { "urls": "turn:tachy0n.com:2222",
- "credential": 'turn',
- "username": 'smoke'
- }
- ]
- }, (...args: any[]) => {
- if(options.trace) {
- console.log(args)
- }
- })
- server.listen(options.port)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement