DELPHI AREA
MESSAGE BOARD
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   FavoritesFavorites   Watched TopicsWatched Topics     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Wave Audio Package: Live Audio Streaming Demo

 
Post new topic   Reply to topic   printer-friendly view    DELPHI AREA Forum Index -> DELPHI AREA's Products
View previous topic :: View next topic  
Author Message
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 1115
Location: Tehran, Iran

PostPosted: 09/08/04 17:18    Post subject: Wave Audio Package: Live Audio Streaming Demo Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
BikerLupo
Member


Joined: 16 Jan 2007
Posts: 1

PostPosted: 16/01/07 22:50    Post subject: Reply with quote

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
View user's profile Send private message
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 1115
Location: Tehran, Iran

PostPosted: 17/01/07 23:25    Post subject: Reply with quote

Hi,

To be honest, I never had chance to test my code on a real network. But I did it tonight. Smile

I've made a small adjustments on code of the Broadcaster. I hope it was resolved the problem.

Cheers,
Kambiz

_________________
Kambiz
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    DELPHI AREA Forum Index -> DELPHI AREA's Products All times are GMT
Page 1 of 1

Add to favorites

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group