pebble / libpebble2

The library portion of the successor to libpebble

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Voice Session invalidated on audio stop but reused in results

rufferson opened this issue · comments

commented

Hi,
_handle_stop_transfer invalidates current session when audio stream stops but then it checks it here to use here while sending results. Probably emulator never sends stop, but IRL it matters.
Trivial fix, don't think worth making fork/PR stuff.

commented

Oh well it sends stop however reference implementation (transcription_server) has send_result executed from stop callback so it kinda works. But again, if the calls are executed asynchronously and callback does not wait - session gets invalidated prior to response.