Archived
2
0

fixed video not showing after reconnect

This commit is contained in:
Craig
2020-02-04 15:37:56 +00:00
parent 2680a1f702
commit ce319ce334
9 changed files with 59 additions and 15 deletions

View File

@ -111,9 +111,15 @@ export const mutations = mutationTree(state, {
state.tracks = state.tracks.filter((_, i) => i !== index)
},
clear(state) {
reset(state) {
state.index = -1
state.tracks = []
state.streams = []
state.width = 1280
state.height = 720
state.horizontal = 16
state.vertical = 9
state.playing = false
state.playable = false
},
})