Open angadsingh opened 2 years ago
Hi @angadsingh - thanks for the message, and good catch. I didn't realize that config.json had been removed when doing some work on the node-red add-on. I've restored that file now.
Regarding the stack trace/error that you're seeing, I'm unfortunately not sure what's occurring. System.IO.IOException: Unable to write data to the transport connection: Broken pipe.
makes it sound like some sort of network issue. The trace also mentions KasaStreamReader.cs:line 138. Which contains the following code:
await section.Body.CopyToAsync(_videoStream);
This command copies a chunk of the camera's video feed to a stream that ffmpeg will use when transcoding / muxing the audio and video together. An error on this line may indicate a network issue with either the add-on host (perhaps the port is in use by another application?) or the camera.
I am getting the same error with my Kasa KC115 camera. Don't think anything else would be using that port. Using the Google Nest Wifi if that makes a difference.
i checked out this specific commit (just before your node-red specific commit) as the latest commit does not have a 'config.json' for some reason.
getting this error:
the same camera works perfectly with 1.4 (still installed as a separate local addon)