AirPlay 2 in iOS App

Hello,


can anybody recommend what steps I have to follow for enabling real AirPlay 2 with multiroom support via the App picker?


I saw this page, but it seems to be outdated (since longForm is deprecated): https://developer.apple.com/documentation/avfoundation/airplay_2/getting_airplay_2_into_your_app


Even when I use an AVRoutePickerView I can always only select one single AirPlay device to stream to. But I want to stream to several devices at the same time, like with the Spotify App.


Any suggestions where to look?


many thanks,

-tom

Accepted Reply

Long form content isn't deprecated, but the ".longForm" symbol is. It's been replaced by ".longFormAudio" (which means what ".longForm" used to mean) and ".longFormVideo" (new in iOS 13).


To make sure your app is properly configured to use AirPlay 2, I suggest you start with these:


https://developer.apple.com/videos/play/wwdc2019/501/

https://developer.apple.com/videos/play/wwdc2019/503

Replies

Long form content isn't deprecated, but the ".longForm" symbol is. It's been replaced by ".longFormAudio" (which means what ".longForm" used to mean) and ".longFormVideo" (new in iOS 13).


To make sure your app is properly configured to use AirPlay 2, I suggest you start with these:


https://developer.apple.com/videos/play/wwdc2019/501/

https://developer.apple.com/videos/play/wwdc2019/503