Closed kiwansky closed 1 month ago
1.9.0
1.0
Other
When a livestream from a camera is already up and running and you try to start the same stream again if leads to a LivestreamAlreadyRunningError what seems to bubble up to server.js and killing the stream.
LivestreamAlreadyRunningError Livestream for device T8410P2021140DE1 is already running, LivestreamAlreadyRunningError error stack: • message_handler.js DeviceMessageHandler.handle /usr/src/app/node_modules/eufy-security-ws/dist/lib/device/message_handler.js:203 • task_queues process.processTicksAndRejections internal/process/task_queues:95 • server.js async Client.receiveMessage /usr/src/app/node_modules/eufy-security-ws/dist/lib/server.js:94
I would expect that the stream, which is already running, is not stopping on trying to start it multiple times.
No response
Camera used for reproduction: Eufy Indoor Cam Pan & Tilt Firmware version: 2.2.0.0
I have tested this behaviour and eufy-security-ws behaves correctly and does not crash. So the problem is not with this project.
Version
1.9.0
Node version
1.0
Operating System type
Other
Operating system version
1.0
Describe the bug
When a livestream from a camera is already up and running and you try to start the same stream again if leads to a LivestreamAlreadyRunningError what seems to bubble up to server.js and killing the stream.
I would expect that the stream, which is already running, is not stopping on trying to start it multiple times.
To reproduce
Screenshots & Logfiles
No response
Additional context
Camera used for reproduction: Eufy Indoor Cam Pan & Tilt Firmware version: 2.2.0.0