LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   voice over socket delaying (https://www.linuxquestions.org/questions/programming-9/voice-over-socket-delaying-715730/)

borganve 03-31-2009 05:12 AM

voice over socket delaying
 
i created sockets to send/ recv voice data over bluetooth sockets and i can also able to play at receiver, the recorded voice i am saving it in one temporary buffer then am sending it over the socket. the problem now is that, when i initiate the communication the voice appears without any delay but as time laps it will get delay to play, so to avoid this do i need to use something special techniques to store the recorded voice and to send over the socket?

dwhitney67 04-01-2009 01:58 PM

Did I not see this post the other day?

You did not present your application's design, much less any source code, so I cannot comment on your application's problem. Heck, for all I know, it is an issue with your system.

Typically, though, if data is being sent from one system to another, and this data needs to be processed, it is best to divide up the data receiver from the data processor. A multi-threaded application will do wonders for this scenario.


All times are GMT -5. The time now is 06:14 PM.