1
Developer's Corner / Re: Help with P2P and VoIP BCB Programming...
« on: August 15, 2006, 12:31 AM »
Hi Renox
as far as file transfer goes with gamechat i set up a filestream to the file that was to be sent.used sendstream to send the filestream over the socket connection then on the recieving side open a new file with the appropriate nam and right the buffer that was read from the socket to the file until the entire file is recieved.As far as voice goes i used voice clips (up to 20 seconds) used speex voice encoder/decoder to reduce the audio about 10* (unfortunately couldnt get the speex to compile using borland so interfaced to the commandline encoder/decoder pair from gamechat.) as for streaming audio i lookoed and couldnd find anything free that did what i wanted.Anyway i will organise a small example program if you like good to see ypu active on donationcoder again.
marty
as far as file transfer goes with gamechat i set up a filestream to the file that was to be sent.used sendstream to send the filestream over the socket connection then on the recieving side open a new file with the appropriate nam and right the buffer that was read from the socket to the file until the entire file is recieved.As far as voice goes i used voice clips (up to 20 seconds) used speex voice encoder/decoder to reduce the audio about 10* (unfortunately couldnt get the speex to compile using borland so interfaced to the commandline encoder/decoder pair from gamechat.) as for streaming audio i lookoed and couldnd find anything free that did what i wanted.Anyway i will organise a small example program if you like good to see ypu active on donationcoder again.
marty