linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] Linphone-developers Digest, Vol 118, Issue 42


From: 徐兵
Subject: Re: [Linphone-developers] Linphone-developers Digest, Vol 118, Issue 42
Date: Mon, 21 Jan 2013 11:07:00 +0800

hi, i have met 2 problem:
1: i downloaded the linphone-3.5 and embeded a webserver in it to communicate with the web program. and i compiled it with vs-2008. i encounted one problem: the web program get the linphone's status through the request every 2 second, when there is a call coming then the web trigger a request to let the linphone answer it. finally, call the funcion linphone_core_accept_call(), sometimes the linphone crashed here. days of debug, i found the reason: cos sometimes if the caller hangup in very short time, then the linphone is going to answer an hanguped call, it gets error. so i set the linphone autoanswer an incoming call. then there is no crash.
2: if we want to hang a call, then the web program send a request to the webserver, and call the function linphone_core_terminate_call(), also sometimes it crashed if the callee hangup as soon as she answered an incoming call. and linphone_core_iterate is the main handler, so if received the web request to hangup a call, just set the_core->dropcall =1.
linphone_core_iterate()
{
....
if (disconnected)
linphone_core_disconnected(lc);
....
}
hope can help someone


2012/12/28 <address@hidden>
Send Linphone-developers mailing list submissions to
        address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.nongnu.org/mailman/listinfo/linphone-developers
or, via email, send a message with subject or body 'help' to
        address@hidden

You can reach the person managing the list at
        address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Linphone-developers digest..."


Today's Topics:

   1. Compile and run linphone-android (Taruna Sharma)


----------------------------------------------------------------------

Message: 1
Date: Thu, 27 Dec 2012 18:20:09 +0800 (SGT)
From: Taruna Sharma <address@hidden>
To: "address@hidden" <address@hidden>
Subject: [Linphone-developers] Compile and run linphone-android
Message-ID:
        <address@hidden>
Content-Type: text/plain; charset="iso-8859-1"

Hi All,

I have downloaded linphone-android source code from github and now trying to compile it. The read me file says that i have to run $ make in the top directory of the project in order to download ilbc code files, but it doesnt work.It says operand missing. So I ran ./prepare_sources.sh /path-to-ndk ,it successfully ran,after that i ran /oath-to-ndk/ndk-build, this also ran successfully. After this,I tried to import the linphone-android project into eclipse,it asks me to import other projects to like mediastreamer,videoactivity,android test,etc. I imported all.But then, the source code of linphone-android shows errors like, org.linphone.core.Log is not resolved. I then looked into the downloaded code,there is no package like org.linphone.core. Have I missed anything?


Best Regards,

Taruna Sharma
Software Engineer

address@hidden
www.tibilsolutions.com
LINKEDIN?|?FACEBOOK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nongnu.org/archive/html/linphone-developers/attachments/20121227/2abcda95/attachment.html>

------------------------------

_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


End of Linphone-developers Digest, Vol 118, Issue 42
****************************************************


reply via email to

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