mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
update reconn timeouts.
This commit is contained in:
parent
14bda1a028
commit
78c3613f3e
@ -7,11 +7,11 @@ import { NekoWebSocket } from './websocket'
|
|||||||
import { NekoWebRTC, WebRTCStats } from './webrtc'
|
import { NekoWebRTC, WebRTCStats } from './webrtc'
|
||||||
import { Connection } from '../types/state'
|
import { Connection } from '../types/state'
|
||||||
|
|
||||||
const WEBSOCKET_TIMEOUT = 1000
|
const WEBSOCKET_TIMEOUT = 5000
|
||||||
const WEBSOCKET_RECONN_DELAY = 750
|
const WEBSOCKET_RECONN_DELAY = 1500
|
||||||
|
|
||||||
const WEBRTC_TIMEOUT = 10000
|
const WEBRTC_TIMEOUT = 10000
|
||||||
const WEBRTC_RECONN_DELAY = 750
|
const WEBRTC_RECONN_DELAY = 1500
|
||||||
const WEBRTC_RECONN_MAX_LOSS = 25
|
const WEBRTC_RECONN_MAX_LOSS = 25
|
||||||
const WEBRTC_RECONN_FAILED_ATTEMPTS = 5
|
const WEBRTC_RECONN_FAILED_ATTEMPTS = 5
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user