You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there interesting project I am giving it a quick try.
On my initial run if the temporary directory is missing which it will always be since the program has never been run the rm command here https://github.com/n1ckyrush/wyzecam-hls/blob/master/methods/createCameraInstance.js#L39 fails and causes the camera instance to be undefined which causes issues down stream. I was able to get around this by manually creating the directory then running the app and it seems to be fine from there.
It's late so I haven't submitted a PR but I was thinking a few things here.
Change it so that the command checks for existence first then deletes it.
Undefined camera instance should be removed from the camera instances array.
Have the app clean up it's temporary directories when it is stopped
Put the temporary files in to the system temp directory
The text was updated successfully, but these errors were encountered:
Hi there interesting project I am giving it a quick try.
On my initial run if the temporary directory is missing which it will always be since the program has never been run the rm command here https://github.com/n1ckyrush/wyzecam-hls/blob/master/methods/createCameraInstance.js#L39 fails and causes the camera instance to be undefined which causes issues down stream. I was able to get around this by manually creating the directory then running the app and it seems to be fine from there.
It's late so I haven't submitted a PR but I was thinking a few things here.
Change it so that the command checks for existence first then deletes it.
Undefined camera instance should be removed from the camera instances array.
Have the app clean up it's temporary directories when it is stopped
Put the temporary files in to the system temp directory
What exactly do I need to create and where because I keep getting that undefined error in all my streams. I assume this is what you meant?
2021-01-02T18:03:31.054Z [0] [Garage_Cam][checkPlaylistFile] playlist file error TypeError: Cannot read property 'filename' of undefined
at checkPlaylistFile (/root/wyzecam-hls/methods/checkPlaylistFile.js:46:244)
I've gotten to where I can telnet into the camera's...just not sure what to "fix".
Hi there interesting project I am giving it a quick try.
On my initial run if the temporary directory is missing which it will always be since the program has never been run the rm command here https://github.com/n1ckyrush/wyzecam-hls/blob/master/methods/createCameraInstance.js#L39 fails and causes the camera instance to be undefined which causes issues down stream. I was able to get around this by manually creating the directory then running the app and it seems to be fine from there.
It's late so I haven't submitted a PR but I was thinking a few things here.
The text was updated successfully, but these errors were encountered: