Author Topic: Airplay 2  (Read 159 times)

vandenbrakel

  • Posts: 7
Airplay 2
« on: 13 Jun '18 - 17:41 »
Will apps compiled for iOS 11.4 and up be able to use Airplay 2 fast streaming when using bass?

It seems you have to adopt some of the native playback API's for it to work...

https://developer.apple.com/documentation/avfoundation/airplay_2/getting_airplay_2_into_your_app
« Last Edit: 13 Jun '18 - 17:46 by vandenbrakel »

Ian @ un4seen

  • Administrator
  • Posts: 21133
Re: Airplay 2
« Reply #1 on: 14 Jun '18 - 16:28 »
I haven't tried that myself but if it requires custom setup of the audio session (AVAudioSession), that is possible by enabling the BASS_CONFIG_IOS_NOCATEGORY option in BASS:

Code: [Select]
BASS_SetConfig(BASS_CONFIG_IOS_NOCATEGORY, 1);

vandenbrakel

  • Posts: 7
Re: Airplay 2
« Reply #2 on: 15 Jun '18 - 08:41 »
Thanks, we already use  NoCategory But as that page states you have to adopt AVPlayer or AVQueuePlayer, I wonder if it will work with bass.