Switch to native WebSocket in UI (#649)

Greatly improves Firefox performance
This commit is contained in:
Matt
2022-12-27 07:23:55 -08:00
committed by GitHub
parent 4382b8ea3f
commit 95c55f08cf
6 changed files with 242 additions and 300 deletions

View File

@@ -15,6 +15,7 @@ export default new Vuex.Store({
},
state: {
backendConnected: false,
websocket: null,
ntConnectionInfo: {
connected: false,
address: "",
@@ -169,6 +170,7 @@ export default new Vuex.Store({
},
mutations: {
compactMode: set('compactMode'),
websocket: set('websocket'),
cameraSettings: set('cameraSettings'),
currentCameraIndex: set('currentCameraIndex'),
selectedOutputs: set('selectedOutputs'),