🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #3217

Re: TIdTCPServer / TIdTCP Client and audio streaming

#3217
From: Remy Lebeau (TeamB)
Date: Fri, 28 Oct 2005 16:40
14 lines
1361 bytes
"Lapo Guidi" <lapoguidi@inwind.it> wrote in message
news:4361f1ca$1@newsgroups.borland.com...

> When the Stream terminated to transfer, the mp3 is played,
> but this is not what I need, I would hear the mp3 playing
> while download the stream like Media player or similar do.

You have to send the MP3 data in small chunks, such as with
Read/WriteBuffer(), and then pass each chunk to the audio system as soon as
it arrives.


Gambit
Technical Details
Message-ID: <436254a2$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <43616d1b@newsgroups.borland.com> <4361723d$1@newsgroups.borland.com> <4361f1ca$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,b41dbb2a4faaab5e
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <43616d1b@newsgroups.borland.com> <4361723d$1@newsgroups.borland.com> <4361f1ca$1@newsgroups.borland.com>
Subject: Re: TIdTCPServer / TIdTCP Client and audio streaming
Date: Fri, 28 Oct 2005 09:40:46 -0700
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <436254a2$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1130517666 68.69.17.41 (28 Oct 2005 09:41:06 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail