[Live-devel] Re: How to unicast a wav format audio file by
testWAVAudioStreamer
Raymond Little
raymondmsl at gmail.com
Tue May 10 10:55:31 PDT 2005
On 5/10/05, Ross Finlayson <finlayson at live.com> wrote:
>
> >1. I want to stream a couple of .wav files to one host by liveMedia.
> >But I have no idea how to set the unicast destination IP address if I
> >stream the file by testWAVAudioStreamer.
>
> To stream by unicast, don't use "testWAVAudioStreamer" as a
> model. Instead, use "testOnDemandRTSPServer".
Thanks to your reply. My first qeuestion should be how to use
testOnDemandRTSPServer to stream by unicast. Sorry for my mistake. I
still can`t figure out how to use it; could you give me furture
suggestion?
>
> >2. How to loop streaming a .wav file? or how to stream a playlist. All
> >the .wav file I want to stream and then calculate their PESQ is only
> >about 10 seconds long. I want to loop streaming one file or stream
> >a playlist.
>
> You can do this in principle, provided that all of the files that you want
> to stream have the same sampling frequency, and are all stereo (or are all
> mono). To do this, you would need to modify the class "WAVAudioFileSource"
>
> (and then modify "WAVAudioFileServerMediaSubsession" to use this new class,
>
> instead of "WAVAudioFileSource").
>
> >3.How can I receive a stream and save it in wav format?
>
> Run "openRTSP" <http://www.live.com/openRTSP/> to save the received audio
> data to a file. Later, preprend this file with an appropriate "WAV" file
> header.
>
>
> Ross Finlayson
> LIVE.COM
> <http://www.live.com/>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live.com
> http://lists.live.com/mailman/listinfo/live-devel
>
More information about the live-devel
mailing list