Home › Forums › OpenEars › Proper way to start/stop OE? › Reply To: Proper way to start/stop OE?
December 3, 2015 at 12:39 am #1027468
Sorry Halle, I lost track of our thread!
suspendRecognition doesn’t seem to have a noticeable impact.
It must be related to these errors though:
2015-12-02 15:34:36.662 Blackbox[833:188408] 15:34:36.662 WARNING: [0x19df2c000] 1251: AURemoteIO::Stop: error 0x10000004 calling TerminateOwnIOThread 2015-12-02 15:34:36.663 Blackbox[833:188561] 15:34:36.663 ERROR: [AURemoteIO::IOThread] >aurioc> 1503: AURemoteIO@0x16092c840: IOThread exiting with error 0x10004002 2015-12-02 15:34:42.218 Blackbox[833:188408] 15:34:42.217 ERROR: [0x19df2c000] AVAudioSession.mm:697: -[AVAudioSession setActive:withOptions:error:]: Deactivating an audio session that has running I/O. All I/O should be stopped or paused prior to deactivating the audio session.
On my 5s I see these errors around 30s after I lock the phone while OE is running (triggering
stopListening). During this time the lock screen is not responsive (can’t slide to unlock but the “slide to unlock” glimmer animation runs).
stopListening is being triggered from the main thread if that’s pertinent. What could I try troubleshooting next?