15.7.3 • Published 4 years ago
@the-/rtc v15.7.3
@the-/rtc
RTC server for the-frameworks
Installation
$ npm install @the-/rtc --save
Usage
'use strict'
const { TheRTC } = require('@the-/rtc')
async function tryExample() {
const rtc = new TheRTC({
stun: {
url: 'stun:stun.l.google.com:19302',
},
topology: 'mesh',
turn: {
expiry: 86400 * 1000,
secret: 'xxxxxxxxxxxxxxxx',
url: 'turn:your.turn.servers.here',
},
})
const port = 3000
await rtc.listen(port)
console.log(`Example RTC Server listening: http://localhost:${port}`)
}
tryExample().catch((err) => console.error(err))
API Guide
- module:@the-/rtc
- module:@the-/rtc.constants
- module:@the-/rtc.helpers
- module:@the-/rtc.mixins
- global
See API Guide for more detail
License
This software is released under the MIT License.
Links
15.7.3
4 years ago
15.7.2
4 years ago
15.7.1
4 years ago
15.7.0
4 years ago
15.6.9
4 years ago
15.6.10
4 years ago
15.6.8
4 years ago
15.6.6
4 years ago
15.6.5
4 years ago
15.6.4
4 years ago
15.6.2
4 years ago
15.6.1
4 years ago
15.6.0
4 years ago
15.5.2
4 years ago
15.5.3
4 years ago
15.5.1
4 years ago
15.4.16
4 years ago
15.4.15
5 years ago
15.4.14
5 years ago
15.4.12
5 years ago
15.4.11
5 years ago
15.4.10
5 years ago
15.4.9
5 years ago
15.4.4
5 years ago
15.4.1
5 years ago
15.4.0
5 years ago
15.2.4
5 years ago