audioInputDidBecomeUnavailable when bluetooth mic connected

Home Forums OpenEars audioInputDidBecomeUnavailable when bluetooth mic connected

Viewing 2 posts - 1 through 2 (of 2 total)

  • Author
    Posts
  • #1024865
    foobar8675
    Participant

    Hello Halle,

    I’m noticing the delegate callback audioInputDidBecomeUnavailable being called when a bluetooth mic gets connected. This caught me off guard, since the audio should still be available , just via a different route, i.e. audioRouteDidChangeToRoute, right?

    #1024868
    Halle Winkler
    Politepix

    This can happen when the previous route becomes unavailable. All of these callbacks, like your previous report about session interruption callback behavior, are conveniences to wrap and forward all of the messages that Apple provides about audio state and says audio apps should listen for so you can get them in the same part of your app logic that you get recognition state information. However, OpenEars does not control or filter them or apply much in the way of opinions to them – if the OS has an interesting behavior, such as a case in which it doesn’t send a notification or a case in which it tells you a port became unavailable, OpenEars is basically just passing that on. Deciding what to act on/not act on and how is an implementation detail for your app.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.