DeutscheSoft / AES70.js

A controller library implementing the AES70 standard
Other
39 stars 5 forks source link

Bug in remote_device.js when running get_role_map #9

Closed AlexK-99 closed 1 year ago

AlexK-99 commented 1 year ago

Hi, I am playing with AES70. I want to control the AMP 5D from D&B Audio, but I noticed when I use the get_role_map function that there is an infinite loop. In the function tree_to_rolemap in the while loop line 79 remote_device.js . Is this a bug or is it supposed to be like this or am I doing something wrong.

Thanks in advance

Alex

arneg commented 1 year ago

You are right, this is a bug. The D&B amp seems to re-use role names for objects. The aes70 standard says that should be avoided and the handling in this library was faulty. Will fix that, thanks for the report.

arneg commented 1 year ago

Fixed in 1.5.2 release.