Cleaned
This commit is contained in:
parent
7d84e1e52b
commit
57b560d13d
1 changed files with 1 additions and 30 deletions
31
app.coffee
31
app.coffee
|
@ -1,35 +1,6 @@
|
||||||
VERSION = "0.14"
|
VERSION = "0.15"
|
||||||
BUILD = "1"
|
BUILD = "1"
|
||||||
|
|
||||||
trackers = [
|
|
||||||
'wss://tracker.btorrent.xyz'
|
|
||||||
'wss://tracker.webtorrent.io'
|
|
||||||
'wss://tracker.openwebtorrent.com'
|
|
||||||
]
|
|
||||||
|
|
||||||
opts = {
|
|
||||||
announce: trackers
|
|
||||||
}
|
|
||||||
|
|
||||||
rtcConfig = {
|
|
||||||
"iceServers":[
|
|
||||||
{"url":"stun:23.21.150.121","urls":"stun:23.21.150.121"}
|
|
||||||
{"url":"stun:stun.l.google.com:19302","urls":"stun:stun.l.google.com:19302"}
|
|
||||||
{
|
|
||||||
"url":"turn:global.turn.twilio.com:3478?transport=udp"
|
|
||||||
"urls":"turn:global.turn.twilio.com:3478?transport=udp"
|
|
||||||
"username":"857315a4616be37252127d4ff924c3a3536dd3fa729b56206dfa0e6808a80478"
|
|
||||||
"credential":"EEEr7bxx8umMHC4sOoWDC/4MxU/4JCfL+W7KeSJEsBQ="
|
|
||||||
}
|
|
||||||
{
|
|
||||||
"url": "turn:numb.viagenie.ca"
|
|
||||||
"urls": "turn:numb.viagenie.ca"
|
|
||||||
"credential": "webrtcdemo"
|
|
||||||
"username": "louis%40mozilla.com"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
debug = window.localStorage.getItem('debug')?
|
debug = window.localStorage.getItem('debug')?
|
||||||
|
|
||||||
dbg = (string, item, color) ->
|
dbg = (string, item, color) ->
|
||||||
|
|
Loading…
Reference in a new issue