The company also revealed its much-rumored smart speaker, the.
Apple said that it is partnering with companies such as Bang and Olufsen, Bose, Beats (which it owns), Polk, Denon, Bowers and Wilkins, Definitive Technology, Devialet, Naim and Bluesound to bring AirPlay 2 to market.
It won't only be Apple apps such as HomeKit and Music that will be able to take advantage of the new features, as Federighi said that "third-party audio apps will be able to get in on the multiroom audio fun".
Based on one of the screens the company showed on stage, AirPlay users will be able to select from a list of rooms and group them. At the moment AirPlay is only one-to-one from your phone, though serving to multiple devices is possible with a Mac and/or third-party software. This new capability will bring it in line with competing systems such as Play-Fi, Chromecast Audio and Sonos.
It's as yet unknown if AirPlay 2 is capable of working on existing equipment or if it requires new gear, though the presence of Play-Fi-supporting companies such as Polk and others such as Devialet means that it may be backwards compatible.
Apple didn't respond immediately to CNET's request for comment.
Follow our WWDC live blog for real-time coverage.
reading•Apple introduces AirPlay 2 with multiroom support
May 25•Best Buy outs Beats Decade Collection in advance of Apple WWDC
May 22•WWDC 2018: All the rumors on iOS 12, iPad Pro, new MacBooks and more
May 22•It's official: Apple's 2018 WWDC keynote is Monday, June 4
May 21•Siri changes her tune on WWDC