king_ms Posted May 28, 2018 Posted May 28, 2018 Hi, I am try to develop a Multi-Room Music Audio Driver,used 2 proxies:amplifier and media service proxy! And now I have a problem。 Proxy:media service ,binding 5001 function UpdateMediaInfo(idBinding, line1, line2, line3, line4, url, roomId, mediatype, merge) local params = {} params["ROOMID"] = roomId params["IMAGEURL"] = "" params["LINE1"] ="line1" params["LINE2"] = "line2" params["LINE3"] = "line3" params["LINE4"] ="line4" params["MEDIATYPE"] ="secondary" params["MERGE"] ="true" --C4:SendToProxy(idBinding, "UPDATE_MEDIA_INFO", params, "COMMAND", true) end When I use function UpdateMediaInfo,No matter how the “ROOMID” is set,All rooms media Info update.But I just want to specify a room change How should I implement a separate room change?
abner007 Posted October 18, 2018 Posted October 18, 2018 We also develop a Multi-Room Music Audio Driver,used 2 proxies:amplifier and media service proxy!we separate it by zone id function GetMapInput() gMapInput = { [0] = gZone1Id, [1] = gZone2Id, [2] = gZone3Id, [3] = gZone4Id, } end we are do the same kind diver we can learn from each other,the media diver is complex!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.