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 = {
|
public state = {
|
||||||
connection: {
|
connection: {
|
||||||
authenticated: false,
|
authenticated: false,
|
||||||
websocket: 'disconnected',
|
websocket: this.websocket.supported ? 'disconnected' : 'unavailable',
|
||||||
webrtc: 'disconnected',
|
webrtc: this.webrtc.supported ? 'disconnected' : 'unavailable',
|
||||||
type: 'none',
|
type: 'none',
|
||||||
can_watch: false,
|
can_watch: false,
|
||||||
can_control: false,
|
can_control: false,
|
||||||
|
@ -12,8 +12,8 @@ export default interface State {
|
|||||||
/////////////////////////////
|
/////////////////////////////
|
||||||
export interface Connection {
|
export interface Connection {
|
||||||
authenticated: boolean
|
authenticated: boolean
|
||||||
websocket: 'disconnected' | 'connecting' | 'connected'
|
websocket: 'unavailable' | 'disconnected' | 'connecting' | 'connected'
|
||||||
webrtc: 'disconnected' | 'connecting' | 'connected'
|
webrtc: 'unavailable' | 'disconnected' | 'connecting' | 'connected'
|
||||||
type: 'webrtc' | 'fallback' | 'none'
|
type: 'webrtc' | 'fallback' | 'none'
|
||||||
can_watch: boolean
|
can_watch: boolean
|
||||||
can_control: boolean
|
can_control: boolean
|
||||||
|
Loading…
Reference in New Issue
Block a user