Experiencing Only Noise During Playback of PCM Audio Data Streamed via WebSocket in React Native and Swift
I’m developing a React Native application that receives PCM audio data over WebSocket, decodes it from a base64 string, and attempts to play it in real-time using an AVAudioEngine setup in Swift. Despite confirming that the audio data is correctly received by writing to file and playing it in Audacity, the playback in my app is only noise. I can’t identify the cause.