Websocket live call listen in
# support
r
I am trying to setup the live call in to my browser, to listen into a call enabled the monitorplan Frontend: - Vue.js - Socket.IO client Backend: - Node.js - Socket.IO server - TypeScript Current Implementation: - Transmitting via WebSocket using base64 encoding - Processing with bandpass filters and gain control - Sample rate: 16kHz - Frame size: 1024 samples - Mono channel - 16-bit audio Issue: The audio transmission works, but I'm experiencing two major issues: 1. Voice sounds like a chipmunk/helium voice (high-pitched) or it sounds like really low nothing natural 2. Audio has crackling artifacts during playback The audio data flow seems correct (getting proper byte lengths in logs), and the WebSocket connection is stable. I've tried different sample rates (48kHz, 44.1kHz, 16kHz) and various buffer sizes, but still can't get natural-sounding voice. What could be causing the pitch shift and crackling? Is there an issue with my sample rate handling or buffer processing that I'm missing? Any help would be greatly appreciated!
i tried these settings but still same issue : PCM data: Signed 16-bit little-endian PCM (S16LE). Sample rate is 16,000 Hz, bit depth is 16-bit. Allow me some more time on exact numbers(The WebSocket sends data at a consistent rate based on the pipeline design). Ensure proper handling of the 16,000 Hz sample rate and 16-bit PCM format on the client side.
fixed it can mark as solved
s
@RayRay020 what changes did you made?
s
Hey. Having the exact same issue. What did you do to fix it?@RayRay020
r
Well I thought that j fixed it but it was still tripping, did a workaround in twilio instead by creating a conference room and calling into the conference
s
Damn. Thanks for sharing. I guess I'll take a crack at it now.
v
Hi, do you have any code for how to pull out the live audio stream?
7 Views