-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Hi,
First I got phea working and it's awesome, thank you for making it 😃
I'm building an API that will be able start / stop entertainment sync. However, Phea throws an error when I'm closing a stream using phea.stop().
Is there any particular reason I'm not understanding for throwing an error when stopping a stream ?
Related code is the following
node-phea/src/hue-controller.js
Lines 142 to 146 in 101dd62
| .on("close", () => { | |
| let msg = new Error("PHEA - DTLS: Socket Closed"); | |
| msg.code = 'PHEA.HUE_DTLS_CONTROLLER.SOCKET_CLOSED'; | |
| throw msg; | |
| }); |
Thanks
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request