[Top][All Lists]

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

Re: [Linphone-developers] Segmentation Fault when using audio_stream_sta

From: Edwin Cordeiro
Subject: Re: [Linphone-developers] Segmentation Fault when using audio_stream_start_with_files
Date: Tue, 8 Aug 2006 14:01:19 -0300

I know that I have changed the linphonecore to use the function audio_stream_start_with_files I just said I was using linphonec to say that I was not using the GUI. The segmentation fault is on linphonecore when it tries to configure the sound input and ouput that do not exist.


On 8/5/06, strk <address@hidden> wrote:
linphonec has nothing to do with sound.
All internals are delegated to linphonecore, the console
code is just an interface/wrapper.


On Fri, Aug 04, 2006 at 03:44:25PM -0300, Edwin Cordeiro wrote:
> Hi,
> Like I said before I'm trying to make a linphonec that read and write the
> audio streams into files (pipes) because my ARM system don't have a sound
> system so I want to send and get the audio to/from another program. I'm
> using version and I tried Simon's suggestion to change 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 in the function void
> linphone_core_start_media_streams(LinphoneCore *lc, LinphoneCall *call) for
> the line
> lc->audiostream=audio_stream_start_with_files(call->profile,audio_params->localport,audio_params->remoteaddr,audio_params->remoteport,audio_params->pt,jitt_comp,output,input);
> But when I do that the program returns segmentation fault. I tried to
> discover what was the problem and I think the problem is that linphonec is
> trying to access the sound input/output that do no exist on my board when it
> tries to configure the input and output.
> When I use the sipomatic the function audio_stream_start_with_files works
> correctly. Can anybody help me to identify wich functions should not run to
> avoid this segmentation faults or to build a linphonec version that I can
> set on the configuration file if I want to use files or an audio device?
> Thanks,
> Edwin Cordeiro

> _______________________________________________
> Linphone-developers mailing list
> address@hidden


/"\    ASCII Ribbon Campaign
\ /    Respect for low technology.
  X     Keep e-mail messages readable by any computer system.
/ \    Keep it ASCII.

Linphone-developers mailing list

reply via email to

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