2,657 questions
0
votes
1
answer
27
views
Real-time Audio Streaming Not Playing on iOS with WebSocket and Audio APIs
I'm building a real-time audio streaming app using WebSocket and audio APIs, but I'm facing issues specifically on iOS. The app streams audio chunks received via WebSocket from the ElevenLabs API and ...
0
votes
0
answers
52
views
Agora Flutter: Other Users Can't See or Hear a Viewer After Role Change to Participant
I am implementing a live streaming feature using the Agora SDK in a Flutter application. There are three types of roles in my app: VIEWER, PARTICIPANT, and HOST.
When users join the channel with their ...
1
vote
1
answer
48
views
How can I stream audio directly from the response of an API request?
I am using an API where, when I make a POST request and send an audio file through form data, it returns a streamable audio. I don't know any method to play the audio immediately without having to ...
-1
votes
1
answer
33
views
Converting HLS Stream to stream supported by old radio
I have an old internet radio that does not support HLS streams.
Therefore I cannot listen to my favourite radio at this url:
https://streamcdnf31-4c4b867c89244861ac216426883d1ad0.msvdn.net/radiodeejay/...
0
votes
0
answers
15
views
Stitching React Native streaming data back together
I'm using the react-native-live-audio-stream package to record.
I followed the instructions for in the npm
// yarn add buffer
import { Buffer } from 'buffer';
...
LiveAudioStream.on('data', data =&...
0
votes
0
answers
25
views
Create a Stream using MP3s
I have some code that generates a script using the OpenAI API and then converts the script to an MP3 using a text to audio API. My code runs every five minutes and ensures there is never ending queue ...
0
votes
2
answers
57
views
How play audio before download is complete?
I have an Angular client and one SpringBoot server. On the server, I have an endpoint that generates an audio file from text. The audio file generation depends on another API that take too long (5 ...
1
vote
0
answers
40
views
How to accurately/precisely seek to a timestamp in media with ffmpeg API?
I am writing a simple audio player with ffmpeg ver.4.4.4, and I want to seek to specific timestamp of the audio media (a MP3 file).
Here is my code.
I am using avformat_seek_file() with flags of ...
0
votes
0
answers
38
views
Why my music using Web Audio API sounds weaker?
Only on mobile chrome, the speaker is set to phone call during playing a music. I figured out this is because of gainNode. But gainNode is important for looping without gap and etc. I don't want to ...
1
vote
0
answers
41
views
How can i stream incoming pcm16 data in flutter/ iOS?
This is my flutter code for the incoming data, what I get is a uint8list data stream that kinda looks like this (if transcribed)
Hello
Hello how
Hello how are
Hello how are you?
client.on(...
0
votes
1
answer
88
views
How to fix Exception with an error code: 0xe (SPXERR_MIC_NOT_AVAILABLE)
I have built a chatbot bot framework and am now looking to integrate speech functionality for the bot. I am trying to run the below code from ms learn quickstart for speech sdk using python.
https://...
2
votes
1
answer
40
views
Failed to play m3u8 stream continously with ffmpeg APIs
I am working on an embedded Linux system (5.10.24), where I want to play m3u8 audio stream with FFMPEG APIs.
Here is my code.
#include <stdio.h>
#include <stdbool.h>
#include <alsa/...
0
votes
0
answers
26
views
How can I play an audio file that is still being written with Expo AV?
I want to play audio which is streamed by the server in chunks. For that I have created a function which appends a new chunk of data in the specific file.
export const writeBase64ToFile = async (...
1
vote
0
answers
60
views
Disabling or Bypassing Dolby Atmos Processing on Android
When using android.media.MediaPlayer, is it possible to configure it so that the audio bypasses the Dolby Atmos, or any other effects/quality processing for that matter?
This seems to be a standard ...
0
votes
2
answers
66
views
How to send ICY format message in audio stream from server in Python?
I implemented a StreamingResponse in FastAPI with audio bytes from async generator sources. But besides need to insert some messages for client side audio player (currently, React Native) just in the ...
0
votes
0
answers
77
views
Android 11 - IMX8M - Default Audio Stream Routing to Lineout - SGTL5000
Platform: IMX8M Custom Board
OS: Android 11
Kernel: 5.10.9-678025-gbccc0b2805b7-dirty
Codec: SGTL5000
Problem: Default Sound Audio Output with Line-Out
Is this card necessary for lineout audio routing ...
1
vote
1
answer
37
views
White noise when Exoplayer streams music to discord bot
I'm trying to stream audio bytes to a discord bot, but instead of music there's a lot of noise. Moreover, the bot connects successfully, the codec works. The first thing that comes to mind is that I ...
0
votes
1
answer
125
views
How to make microphone suppress the audio that sounds from speakers at the moment on iPhone?
I was implemented ChatGPT Real-time API, that allows to chat with bot in real time with a voice among other methods. But I've faced a problem that ChatGPT always starts talking with itself when using ...
0
votes
1
answer
72
views
Azure Gstreamer error - basesrc gstbasesrc.c:3072: error: streaming stopped, reason error (-5)
We are using GStreamer in azure realtime speech to text, Actually Azure uses gstreamer internally to convert any audio format being streamed to their supported PCM format. When we deploy this ...
-3
votes
1
answer
41
views
HTTP audio streaming
Is it possible to provide audio file from HTTP server that is consumed by clients via streaming (loading a file partially)?
HTTP server shouldn't care about streaming, it thinks consumers just ...
0
votes
0
answers
12
views
PJSIP: TX packet loss
What are reason for packet loss on TX in PJSIP:
TX pt=96, ptime=60, last update:00h:00m:00.030s ago
total 2.4Kpkt 556.3KB (656.0KB +IP hdr) @avg=29.2Kbps/34.5Kbps
pkt loss=621 (24.9%), dup=0 (0.0%), ...
0
votes
0
answers
34
views
Error playing an audio stream using Expo AV in React Native
Using the Expo-AV library in React Native, I have trouble reading an audio stream from a flask server.
The problem only occurs in iOS (AVPlayer) sometimes but not always, no problem at all with ...
0
votes
2
answers
125
views
Handling Audio blobs sent through mediarecorder in JS through python server script for azure service
I have two client codes to pick the audio and stream it to server through websocket, One is using ScriptProcessor and another one through MediaRecorder functions in Javascript, The task in the server ...
1
vote
1
answer
45
views
Audio intermitency js
The page is exibit in a TV on a reception. When it's open we got a dialog with a button to allow the webpage to play audio. And the page refresh itself after 40 seconds.
For the most time of the day, ...
0
votes
0
answers
49
views
Why does SpeechAsyncClient streaming recognise method hang
Overview
I have implemented a simple client-server WebSocket connection using websocket.asyncio. My goal is to stream audio from the client to the server and to transcribe that audio using Google ...
0
votes
0
answers
16
views
Shift audio for ios in react-native
my dev team has run into a wall in the development of an app we're creating in react native. We're attempting to shift the audio from in-call speaker mode to media speaker mode in ios. We have 2 ...
0
votes
0
answers
115
views
Streaming Pipewire audio sink to http endpoint
I'd like to make a server which allows me to serve sound from an application on my computer to an http endpoint. Since I'm using a Linux distribution, I'd like to use PipeWire. I would prefer using ...
7
votes
0
answers
260
views
Combining threading and asyncio to process audio stream through a WebSocket connection
Overview
I have a server which has an an open WebSocket connection with one client application. This client application (android app) can send live microphone audio data. What the server has to do in ...
0
votes
0
answers
12
views
Get Siri to stop using special context for the word Radio
I am developing a streaming radio app and we are currently working on Siri integration. The problem we are currently experiencing is that Siri is unable to play several of the stations because their ...
1
vote
0
answers
50
views
Attempting to figure out an RTP stream to be able to listen to the payload
I am working on rebuilding a server for a voice chat program that was built around 2002.
This chat consists of chat rooms where you, as the client, could send voice to a server and that would be ...
3
votes
1
answer
78
views
Node.js server that streams an infinite silence sound switches to streaming mew audio data receiving an event, and then returns to silence
To create a Node.js server that streams an infinite silence sound, switches to streaming actual audio data upon receiving an event, and then returns to silence after the event's audio data ends, steps:...
0
votes
0
answers
27
views
How does the Google Dialer stream call recording info audio to the other side?
As soon as a call recording is started in the Phone by Google app, an audio is played which the receiver can listen even if microphone usage is closed. How to implement this in an Android app ? I only ...
0
votes
0
answers
85
views
NodeJS WebRTC - RTCAudioSource - Expected a .byteLength of 480, not 2770
I'm trying to have my nodejs backend act as a peer that streams pcm audio to the browser via webrtc (https://github.com/WonderInventions/node-webrtc). (let's assume it's the only way to achieve what I ...
1
vote
1
answer
36
views
When I used the 2.4.0 version of the SDK to develop a 1v1 video application, why did an error occur?
When I used the 2.4.0 version of the SDK to develop a 1v1 video application, an error occurred during the development process:
../../../../.pub-cache/hosted/pub.flutter-io.cn/tencent_calls_uikit-2.4....
0
votes
1
answer
103
views
How to use ipywebrtc to stream audio to Azure Speech?
I'm using Solara to build a web app with Python, and I can use ipywebrtc to capture audio from the client's browser. I can first record the audio to a temporary file and then pass it to Azure Speech, ...
0
votes
1
answer
73
views
Audio stream plays on Alexa app but not on echo dot
I’ve created an Alexa audio player skill to stream longform audio (.m3u8 playlist of segments).
It works great on the Alexa app, but I cannot get any audio on the echo dot.
Any reason why it would ...
1
vote
0
answers
153
views
Backend audio chunks aren't playing correctly when I pass them to client
First, I apologize if anything is spelled incorrectly or if I don't explain myself clearly enough as english is not my first languale.
Now to the problem. I am both starting to work with OpenAI API ...
0
votes
0
answers
34
views
Alexa skill doesn't launch audio stream in EN-US
I have a simple lambda python code that loads an audio stream. I have tested it numerous times in dev and live and it works in EN-AU, EN-CA, EN-IN, and EN-UK. The only thing it does it EN-US is load ...
-1
votes
1
answer
37
views
Secured audio streaming of Digitalocean spaces cdn
We have an nextjs application while nodejs on backend. As digitalocean spaces is s3 compatible, that is why we are using S3 sdk for uploading audios on spaces. Now we have to stream with web using ...
0
votes
1
answer
169
views
Web Audio API - "EncodingError: Decoding failed" on IOS only when decoding mp3 chunks
I'm streaming mp3 chunks that are generated by a 3rd party to the browser via socket io.
The audio format is mp3 with 44.1kHz sample rate at 192kbps.
I'm using standardized-audio-context (https://...
0
votes
1
answer
78
views
Exoplayer in Audio Streaming Android App | exoplayer playing multiple audios from streaming url
This is my Fragment code being hosted on MainActivity:
class RadioPlayerFragment : Fragment() {
private lateinit var player: SimpleExoPlayer
private lateinit var mBinding: ...
0
votes
2
answers
267
views
How to stream text-to-speech on iOS using the SDK?
I am trying to stream the audio I get from the Speech SDK using SPXPushAudioOutputStream. I get all data without an issue and can write it into a wav or mp3 and then play it back with the code below.
...
0
votes
2
answers
399
views
AudioWorkletProcessor playing streamed audio sounds scrambled
I'm trying to play in the browser audio that's streamed from my backend to simulate a real-time voice call, in a way that's compatible with all the relevant browsers, devices, and OSs.
The audio ...
0
votes
0
answers
42
views
any other way to play audio in browser using reactjs other than using DecodeAudioData?
So basically from the server using websocket I am receiving chunks of audio data in the form of ArrayBuffer, so the DecodeAudioData api is not able to decode partial audio into sound, so I was ...
0
votes
0
answers
58
views
NAudio stream WasapiLoopbackCapture
I am trying to write a simple remote speaker audio capture app using NAudio.
There is a winforms client app that captures the audio and sends it with HttpRequests to a winforms server app.
I have ...
1
vote
1
answer
168
views
I'm getting empty response in AWS Transcribe Streaming
I'm trying to build realtime speach to text transcription in node.js using AWS transcribe. I'm sure that the audio is transferred from react to node.js through socket.io and I have cross verified by ...
0
votes
1
answer
194
views
Sending L16 audio over RTSP in GStreamer
I'm trying to send raw audio in the L16 format over RTSP. I'm using the following pipelines for the server and client respectively. I eventually plan to add video to these pipelines as well.
Server:
./...
0
votes
1
answer
234
views
How to resolve issue with recording audio for macOS with flutter?
I was trying to record audio in macOs but discovered issue with generated audio file I mean when I try to play that recorded file, not able to hear anything , it's like empty.
Package that I have used ...
0
votes
0
answers
194
views
How can I identify silences in audio in Node.js?
I'm working on implementing a real time chatbot using openai's GPT4o model, so far I've got mostly everything working except one key piece which is knowing when the audio streamed by the frontend is ...
0
votes
0
answers
87
views
How to use js Fetch api get streaming audio chunks and play it?
here's my code
I want to request the API to return the audio file by streaming, so as to achieve the effect of playing the audio file while requesting, but the returned int8 array cannot be played.
I ...