From 8ec5ee0de311dc80da0b98687e4937cc2bcb2bf4 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Sat, 22 Jan 2022 00:43:32 -0800 Subject: [PATCH] amcrest: error/logging cleanups --- plugins/amcrest/src/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/amcrest/src/main.ts b/plugins/amcrest/src/main.ts index 66bc7982b..adc910a46 100644 --- a/plugins/amcrest/src/main.ts +++ b/plugins/amcrest/src/main.ts @@ -281,13 +281,13 @@ class AmcrestCamera extends RtspSmartCamera implements VideoCameraConfiguration, } } catch (e) { - this.console.error('audio finished with error', e); + this.console.error('audio finished'); } finally { passthrough.end(); } - this.cp.kill(); + this.stopIntercom(); }); const port = await listenZero(server)