mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
webscoker & webrtc: unavailable state.
This commit is contained in:
parent
1d1b995ceb
commit
d7ee530960
@ -81,8 +81,8 @@
|
||||
public state = {
|
||||
connection: {
|
||||
authenticated: false,
|
||||
websocket: 'disconnected',
|
||||
webrtc: 'disconnected',
|
||||
websocket: this.websocket.supported ? 'disconnected' : 'unavailable',
|
||||
webrtc: this.webrtc.supported ? 'disconnected' : 'unavailable',
|
||||
type: 'none',
|
||||
can_watch: false,
|
||||
can_control: false,
|
||||
|
@ -12,8 +12,8 @@ export default interface State {
|
||||
/////////////////////////////
|
||||
export interface Connection {
|
||||
authenticated: boolean
|
||||
websocket: 'disconnected' | 'connecting' | 'connected'
|
||||
webrtc: 'disconnected' | 'connecting' | 'connected'
|
||||
websocket: 'unavailable' | 'disconnected' | 'connecting' | 'connected'
|
||||
webrtc: 'unavailable' | 'disconnected' | 'connecting' | 'connected'
|
||||
type: 'webrtc' | 'fallback' | 'none'
|
||||
can_watch: boolean
|
||||
can_control: boolean
|
||||
|
Loading…
Reference in New Issue
Block a user