forked from platypush/platypush
Call sound.stop_recording upon audio stream stop so we won't have hanging streams with no clients connected
This commit is contained in:
parent
beef06fad2
commit
34433a363b
1 changed files with 2 additions and 1 deletions
|
@ -14,8 +14,9 @@ Vue.component('sound', {
|
|||
this.recording = true;
|
||||
},
|
||||
|
||||
stopRecording: function() {
|
||||
stopRecording: async function() {
|
||||
this.recording = false;
|
||||
await request('sound.stop_recording')
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue