[Live-devel] Problem in transferring wave files over RTP:
Seshu kumar Chava
seshu.chava at wipro.com
Tue Mar 23 15:09:21 PST 2004
Hi Ross,
I am using windows media player for playing this file, even winamp
also giving error while trying to play this file.
I was able to play the mp3 with out any problems after receiving
over RTP but for wave files I am facing problem.
Can you please help me in this regard.
Thanks,
Seshu.
From: Ross Finlayson <finlayson at live.com>
Subject: Re: [Live-devel] Problem in transferring wav files over RTP.
To: "LIVE.COM Streaming Media - development & use"
<live-devel at ns.live.com>
Message-ID: <6.0.1.1.1.20040322093200.03b85370 at localhost>
Content-Type: text/plain; charset="us-ascii"; format=flowed
> I want to transfer wav files over RTP for that I used
latest
> onDemandRTSPServer. I was able transfer the files but I am unable to
play
> the same.
What media player were you using? You should be able to play the stream
using QuickTime Player, or VLC, or (I think) MPlayer.
> I didn't get why it is tacking as 16-bit linear audio (L16 codec
type).
> If I want the same wave files to be transferred then what are the
> modifications I need to do.
I'm sorry, but I don't understand what you're saying here. If the input
file contains 16-bits-per-sample audio data, then the data will be
streamed
- in RTP - as the "audio/L16" MIME type (i.e., 16-bit data). Similarly,
if
the input file contains 8-bits-per-sample audio data, then the data will
be
streamed - in RTP - as the "audio/L8" MIME type (i.e., 8-bit data).
If you want 16-bit input data to be converted to 8-bit u-law for
streaming,
then you can do so by setting the variable "convertToULaw" to "True" in
"testOnDemandRTSPServer.cpp".
Ross Finlayson
LIVE.COM
<http://www.live.com/>
Confidentiality Notice
The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or Mailadmin at wipro.com immediately
and destroy all copies of this message and any attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live.com/pipermail/live-devel/attachments/20040323/8610285b/attachment.html
More information about the live-devel
mailing list