Call sound.stop_recording upon audio stream stop so we won't have hanging streams with no clients connected

This commit is contained in:
Fabio Manganiello 2019-07-25 14:01:04 +02:00
parent beef06fad2
commit 34433a363b

View file

@ -14,8 +14,9 @@ Vue.component('sound', {
this.recording = true;
},
stopRecording: function() {
stopRecording: async function() {
this.recording = false;
await request('sound.stop_recording')
},
},
});