linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] writing to a file using mediastreamer


From: Simon Morlat
Subject: Re: [Linphone-developers] writing to a file using mediastreamer
Date: Tue, 13 Feb 2007 13:50:17 +0100
User-agent: KMail/1.9.5

Hi,

If I remember correctly, mediastreamer1 only writes raw files (headerless) but 
reads wav file.
Only mediastreamer2 is able to write wav files.
You can open raw files for example using audacity with the import raw files 
function, and then you can export them as wav.

Simon

Le mardi 6 février 2007 21:35, George A. Papayiannis a écrit :
> Hi Simon,
>
> This is the version of mediastreamer packaged with libjingle 0.4.
> I don't think it's mediastreamer2.  Is the version number documented
> in the source?
>
> Thanks,
> George
>
> On 2/6/07, Simon Morlat <address@hidden> wrote:
> > What is the version of mediastreamer you are using ?
> > Is that mediastreamer-2.x.x ?
> >
> > Simon
> >
> > Le lundi 5 février 2007 04:01, George A. Papayiannis a écrit:
> > > Hi,
> > >
> > > I'm using mediastreamer and oRTP to record an incoming RTP stream.
> > > The file grows with data as the stream is active, my problem is after
> > > I close the stream, I can't play the wav file.
> > > Is there anything other than calling audio_stream_stop to close the
> > > file?
> > >
> > > I would imagine (aside from choosing your codec, etc.) that recording
> > > is as easy as:
> > >
> > > audio_stream = audio_stream_start_with_files(&profile, 2000,
> > > "127.0.0.1", 3000, codec, 250," in.wav","out.wav");
> > > ...
> > > ...
> > > audio_stream_stop(audio_stream);
> > >
> > > Can someone please help me as to why I can't play back the wav file?
> > > If you want to see a sample of the file I put one here:
> > > http://www.sematopia.com/out.wav
> > >
> > > Thanks,
> > > George
> > >
> > >
> > > _______________________________________________
> > > Linphone-developers mailing list
> > > address@hidden
> > > http://lists.nongnu.org/mailman/listinfo/linphone-developers
>
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/linphone-developers




reply via email to

[Prev in Thread] Current Thread [Next in Thread]