| View previous topic :: View next topic |
| Author |
Message |
Kambiz Administrator

Joined: 07 Mar 2003 Posts: 1115 Location: Tehran, Iran
|
Posted: 09/08/04 17:18 Post subject: Wave Audio Package: Live Audio Streaming Demo |
|
|
Finally, I could manage my time to write a program (actually a set of two) to show how to use TLiveAudioRecorder and TLiveAudioPlayer components of Wave Audio Package for streaming audio via TCP/IP connection.
The server application (Broadcaster) records audio from Microphone using TLiveAudioRecorder components and sends it to the network by help of TServerSocket component.
The client application (Receiver) connects to the server by a TClientSocket components and plays the received audio by help of TLiveAudioPlayer component.
When a client establishes a connection to the server, first server sends it the audio format structure. Then, the client initialize the audio output device and when the device get ready, acknowledge the server. After this, the server begins to send continuously audio data to the client.
The application is written in Delphi 6, however it can be compiled in Delphi 4, 5, and 7.
Greetings,
Kambiz
|
|
| Back to top |
|
 |
BikerLupo Member
Joined: 16 Jan 2007 Posts: 1
|
Posted: 16/01/07 22:50 Post subject: |
|
|
Hello Kambiz.
I'm a new member of your forum and i find your forum is very fine.
I'm so sorry about my bad english but i hope you can understand me.
I have downloaded the Wave Audio Package.
In one of my programs i use TLiveAudioRecorder and TLiveAudioPlayer components of
Wave Audio Package for streaming audio via TCP/IP connection.
The audiotransfer over TCP/IP works very fine but in the first seconds ( maybe 10 sec ), after
connecting, there are a noise ('klick,klick,klick') in the audiostream.
In your demo programs Broadcaster and Receiver it's the same problem.
How can i change this?
Many thanks for your help
BikerLupo
|
|
| Back to top |
|
 |
Kambiz Administrator

Joined: 07 Mar 2003 Posts: 1115 Location: Tehran, Iran
|
Posted: 17/01/07 23:25 Post subject: |
|
|
Hi,
To be honest, I never had chance to test my code on a real network. But I did it tonight.
I've made a small adjustments on code of the Broadcaster. I hope it was resolved the problem.
Cheers,
Kambiz
_________________ Kambiz |
|
| Back to top |
|
 |
|