cordova-plugin-iosrtc
cordova-plugin-iosrtc copied to clipboard
support audio devicechange event
using existing audio output notification to emit media devicechange event
That cool why did you close ?
I found that turning off paired Bluetooth headset does not get the event for audioRouteChangeListener, at least not consistently. I'm not familiar with iOS at all so I don't know how to address the issue, so I'd rather not have this to avoid having people rely on something that's unreliable.
If someone knows how to get the right event in iOS, the rest of the code is solid (I think, as pairing a new Bluetooth works quite well - it might need a timeout before dispatch the event as I don't know if iOS update availableInputs before or after).
if someone knows how to get the right event in iOS, the rest of the code is solid (I think, as pairing a new Bluetooth works quite well - it might need a timeout before dispatch the event as I don't know if iOS update availableInputs before or after).
Let leave it open then :)
Can you convert to draft @jerry2013 thx
Thank you @jerry2013