fix: fix webcam (camera-streamer) stop autorestart beforeDestory (#1556)
This commit is contained in:
1 parent
890b9969ae
commit
2b73cce47a
1 file changed
+1
@@ -171,6 +171,7 @@ export default class WebrtcCameraStreamer extends Mixins(BaseMixin, WebcamMixin)
|
||||
|
||||
beforeDestroy() {
|
||||
this.pc?.close()
|
||||
if (this.restartTimer) window.clearTimeout(this.restartTimer)
|
||||
}
|
||||
|
||||
restartStream() {
|
||||
|
||||
Reference in new issue
Block a user