• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Remote Control Events and AVAssetReader
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: MIDI / device latency
  • Next by Date: Converting an AUGraph to offline mode
  • Previous by thread: MIDI / device latency
  • Next by thread: Converting an AUGraph to offline mode
  • Index(es):
    • Date
    • Thread