[fpc-pascal] fpc and voip ?
Lukasz Sokol
el.es.cr at gmail.com
Mon Jan 16 10:21:54 CET 2017
On 14/01/17 13:05, fredvs wrote:
> Hello.
>
> I have lot of success to play mp3 files with library mpg123+portaudio and
> fpc unit fphttpclient.pas.
>
> Andrew Haines did a perfect work with his TThreadHttpGetter (that is now
> included in https://github.com/fredvs/uos).
>
> So getting the voice over ip is not a problem.
>
> For sending the voice, portaudio library and a input device is used.
>
> But what is the best way to finish the circle ?
>
> IMO, compress the microphone-wav-chunck into mp3 (with lame-mp3 encoder for
> example) and then... ?
>
> What fpc unit should I use to make that wav-chunck-compressed ready to use
> for TThreadHttpGetter ?
>
> A sample code will be very welcome.
This is not written in FPC or Delphi, but in BDS (C++) -
http://tomeko.net/software/SIPclient/index.php?lang=en
but there are sources too (and uses portaudio for input too, IIUC)
>
> Thanks.
>
> Fre;D
> -----
> Many thanks ;-)
-L.
More information about the fpc-pascal
mailing list