michielpost / Q42.HueApi

C# helper library to talk to the Philips Hue bridge
MIT License
411 stars 114 forks source link

Question: Can StreamingApi handle multiple clients? #256

Closed TripleNico closed 2 years ago

TripleNico commented 2 years ago

Quick question; today i tried to use the Entertainment Api from two different computers (clients). The first one connects without any issues and works fine. The second one however fail with a timeout at StreamingHueClient.Connect

So that made me wonder if a multi-client setup is supported by the Entertainment API?

michielpost commented 2 years ago

A Hue bridge only allows one active streaming client at the same time.

TripleNico commented 2 years ago

Thanks for the answer, although I hoped otherwise ;-) Is there a document page on DeveloperHue of this (maybe i missed it?)?

michielpost commented 2 years ago

https://developers.meethue.com/develop/hue-entertainment/philips-hue-entertainment-api/

Only one stream can be active for an entertainment area, the owner field in the entertainment area indicates the application which activated the stream and is streaming towards the area. and Only one streaming at a time can take place, otherwise performance may degrade

There are no limitations to do multiple streams in this library.