Remote Control Events and AVAssetReader
Remote Control Events and AVAssetReader
- Subject: Remote Control Events and AVAssetReader
- From: Niels Bogaards <email@hidden>
- Date: Tue, 28 Dec 2010 10:57:15 +0100
Hi,
I want to add RemoteControlEvents (play/pause, next track, etc) to my
iPhone app. However, since I use AVAssetReader, I am obliged to set
kAudioSessionProperty_OverrideCategoryMixWithOthers to 1. That seems
to remove the possibility of receiving remote control events: the
iPod app remains the target for those.
I understand why this is; mix with others should not make the app
the default media player, and mixwithothers is needed for the
AVAssetReader to not be exclusive audio hardware client (and thus
exclude my actual audio playing).
Still, it would be great to have a way of saying: "mixwithothers
inside my app, but do become the default media player". I tried many
AudioSession and AVAudioSession combinations, but none seem to work.
Does anyone know a trick?
thanks,
Niels
_______________________________________________
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