React Native Android: BLE audio packets received but no continuous live sound using AudioTrack + JNI (.so SDK)

2 days ago 3
ARTICLE AD BOX

I am building a React Native (Android) application that connects to a Bluetooth LE fetal doppler device.
The BLE connection works correctly and I receive live packets (0x71 command) that contain audio data.

What works

BLE scanning, connection, and notifications work

I continuously receive audio packets (0x71) from the device

Heart rate (FHR) and other data are decoded correctly

Audio waveform visualization updates correctly in the UI

Native module is registered correctly (NativeModules.HeartAudioPlayer is not null)

What does NOT work

No live sound is audible

Audio feels like silent / broken chunks

No continuous playback even though packets arrive at high frequency
Read Entire Article