Multi-channel AirPlay
Multi-channel AirPlay
- Subject: Multi-channel AirPlay
- From: Fokke de Jong <email@hidden>
- Date: Thu, 11 May 2017 13:45:21 +0200
Hi,
We are developing an app to stream custom 5.1 (or higher order multichannel) audio from iOS via AirPlay to an AppleTV. Streaming 5.1 content using the built-in movie player works fine, but using AVAudioSession we never get the option to select the multi-channel output ports; the device only advertises:
<AVAudioSessionPortDescription: 0x17401aa20, type = AirPlay; name = Apple TV; UID = 58:55:CA:3E:DC:CD-airplay; selectedDataSource = (null)> <AVAudioSessionChannelDescription: 0x17001d8d0, name = Apple TV 1; label = 0 (0x0); number = 1; port UID = 58:55:CA:3E:DC:CD-airplay> <AVAudioSessionChannelDescription: 0x17001d8f0, name = Apple TV 2; label = 0 (0x0); number = 2; port UID = 58:55:CA:3E:DC:CD-airplay>
[AVAudioSession sharedInstance].maximumOutputNumberOfChannels return 2, even when we instantiate an AURemoteIO object with 6 output channels.
Is there a trick to get the AppleTV to show its 6 (or 8) channels via AirPlay?
Thanks.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden