In actioscript I can get the user cameras from Camera.names.
It works find but sometimes users connect the camera only after the app is started.
When the app is already running it doesn’t update the list of Camera.names when connecting or disconnecting a camera.
Is there a way to update the Camera.names list?
Thanks
Sadly, this is something that’s not possible to ‘bind’ since when the call for the Camera names is done, the Flash Player doesn’t get a ‘notice’ of the new connection.
What I have done in the past is have something poll Camera.names every minute or have a ‘refresh’ button next to the list for when the user does add a camera.
In your case, it seems to have a polling mechanism is the better approach (depending on your UI of course).