Output delay issue after aiortc audio send/recv #1384
Unanswered
chaeheechan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What I'm trying to do is implement a video call using aiortc.
Until now, video transmission and reception are working well, but audio output after voice transmission and reception is a problem
I'm not sure if this is a problem with aiortc or a window, linux environment difference
Currently, the voice data is being transmitted to 960, but the reception is set to 1920, so the received data is divided into 960 and outputted, but the voice data is delayed, so it is being heard because there is a delay
In order to find a solution to this part, I'm trying to use a queue to output it or send and receive voice data to 1920 to solve it, but it's not working well.
When I make the data as a wav file before sending and check it, it seems to be a problem between the output after receiving it when I see that the voice data comes out well.
How should I solve this problem?
Video transmission and reception are currently in progress, but audio output is an issue. But I'm not sure if this is a problem with aiortc or the difference between Windows and Linux environments. So I tested client connectivity once in a Windows environment, and there was a delay in Windows - Windows communication as well
If you test voice input/output by yourself without transmitting or receiving any sound device, it's not a device problem since there's no problem with both server and client
First of all, what I want to know is how to solve the problem that delays occur when outputting after transmitting and receiving voice
Environment
Server: Windows, Client: Raspberry Pi Linux
The uploaded image is a comparison between the transmitted data wav and the received data wav file.
Beta Was this translation helpful? Give feedback.
All reactions