airsdk / Adobe-Runtime-Support

Report, track and discuss issues in Adobe AIR. Monitored by Adobe - and HARMAN - and maintained by the AIR community.
199 stars 11 forks source link

iOS audio issue with MFi connected devices #39

Open BenLeffler opened 6 years ago

BenLeffler commented 6 years ago

Problem Description:

When playing audio from within an iOS Adobe Air app via the Sound class, it fails to stream to hearing devices connected to the iPhone via MFi

Steps to Reproduce:

  1. Connect a hearing device/implant to an iOS device via MFi (Settings > General > Accessibility > MFi Hearing Devices)

  2. Open Air app and play a sound.

    var snd:Sound = new Sound( new URLRequest("sound.mp3") );
    snd.play();

Actual Result:

No audio streams to the hearing device. However if music or a sound from a background app is playing, the sound being invoked from the Air app will stream successfully however it gets mixed in with the device's background audio stream.

Expected Result:

The sound should play on the MFi hearing device irrespective of if a background sound being played.

Any Workarounds:

We managed to obtain the required results by using a Distriqt native extension to play a sound (bypassing the Air method).

Bug affects:

Adobe Air 28.0.0.125 iPhone & iPad devices running iOS 10+

_Footnote: For some reason, the Adobe bugbase (https://tracker.adobe.com/#/add_bug) is preventing me from logging this as a bug on their system, showing a "Bug submission failed" error on their form._

PrimaryFeather commented 6 years ago

Thanks for the report, Ben!

Maybe you could try reporting via Adobe Tracker again in a while — maybe there was a temporary server problem. If it continuously fails, though, let me know and I'll investigate.

BenLeffler commented 6 years ago

No worries Daniel. This is a real edge case bug, but one I thought worth flagging.

Unforunately, there is still no luck with being able to submit to the Adobe bug tracker. I'm getting the same "Bug submission failed" error...

PrimaryFeather commented 6 years ago

Quick question: which browser were you using when you tried reporting the bug? I'll it myself, and who knows — perhaps it makes a difference. Thx!