<Audio> now report when playback stalls waiting for data, so you can show a buffering spinner or build a reconnect watchdog on top of the new onWaiting and onPlaying props. <Audio> also no longer depends on react-native-reanimated or react-native-gesture-handler. On iOS, a race between the live input node and AudioRecorder.start that caused a hard crash is fixed.
Features
- Buffering/loading state for
<Audio>(#1243, @gavrichards)
Fixes
- Revive the recorder correctly after connecting a different source (#1201, @mdydek)
- Cancel the currently running automation event in
cancelScheduledValues(#1287, @mdydek) - Fix an iOS race condition on the input node that caused a use-after-free crash (#1260, @closetcaiman)
Other changes
- Remove
react-native-reanimatedandreact-native-gesture-handlerfrom<Audio>dependencies (#1267, @closetcaiman)