linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] Removing requirement for audio device


From: Simon Morlat
Subject: Re: [Linphone-developers] Removing requirement for audio device
Date: Thu, 24 Aug 2006 14:20:50 +0200
User-agent: KMail/1.9.3

Hi,

Using linphone-1.3.99.9 would help since the calls to audio device are more 
compact that before.
Simon

Le mardi 22 août 2006 23:16, Edwin Cordeiro a écrit :
> Greg,
>
> I was trying to make it, but I have got no good news for you... There is a
> lot of code that try to use the system sound, not only to send and receive
> but for configuration too, I tried to eliminate then but its look like much
> more difficulty then I thought. I'm not with the code I have made the
> changes, but I will send you the day after tomorrow. And the first place to
> start is change on linphonecore on the the function
> linphone_core_start_media_streams(LinphoneCore *lc, LinphoneCall *call)
> changing the line
> lc->audiostream=audio_stream_start_with_sndcards(call->profile,audio_params
>->localport,audio_params->remoteaddr,audio_params->remoteport,audio_params->
>pt,jitt_comp,playcard,captcard,linphone_core_echo_cancelation_enabled(lc));
>
> of the linphonecore.c for the line
> lc->audiostream=audio_stream_start_with_files(call->profile,audio_params->l
>ocalport,audio_params->remoteaddr,audio_params->remoteport,audio_params->pt,
>jitt_comp,output,input);
>
> The function audio_stream_start_with_files is the one that sipomatic uses
> and get and send audio to files correctly.
> I was really thinking on build another sipphone with the same libraries
> that linphone uses but with less resources and without support to sound
> system, because I think it would fit better to my embedded system if I
> could have less dependencies and a smaller sipphone, a friend of mine was
> thinking to help me on this work and if you were interested we could make
> it together.
>
> See you,
> Edwin Cordeiro
> http://edwinsc.googlepages.com
>
> On 8/22/06, Greg Lee <address@hidden> wrote:
> > Hello.  I am considering using linphone to automatically generate call
> > traffic.  I have
> > already cross-compiled linphone for the platform that I am using and have
> > run the
> > application and successfully placed calls.  Now I need to make some
> > modifications to
> > linphone in order to eliminate access to audio devices (mic and speaker)
> > and replace them
> > with static files that contain audio to be transmitted and then audio
> > recorded at the
> > other end.  Again, there will be no hardware audio devices used, just
> > read and write to
> > files.
> >
> > Before I start on this I thought I would ask:
> >
> > 1) Has anyone already done something like this?  If so, would you be
> > willing to share your
> > code?
> >
> > 2) Does anyone have a recommendations/warnings before I begin this work?
> >
> > Thanks,
> > Greg
> >
> >
> >
> > _______________________________________________
> > 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]