linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] Linphone Python: Callbacks list


From: Leland Green
Subject: Re: [Linphone-developers] Linphone Python: Callbacks list
Date: Wed, 6 Apr 2016 14:51:15 -0500

Hello,

Firstly, in the code you pasted, I believe you are expected to write those callback functions. Secondly, you're posting links to two different computer languages: Python and C/C++. I think that may be part of your confusion. 

I'd recommend you stick with Python unless you're familiar with C. There is a link on the pythonhosted page to my security camera project. (Just search for my name.) You can look at it to see how I've further developed some of the callbacks to handle more functionality. If you compare my project to the example posted on the pythonhosted site, I think it may help you.

(Finally, don't worry about your English--you did better than many people I know in the middle of the USA! :) Seriously!)

Hope this does help,
Leland...

On Wed, Apr 6, 2016 at 2:41 PM, <address@hidden> wrote:
First, my apologies for my bad English. In this moment I'm working in a linphone project using Python API. There are two pages:

https://pythonhosted.org/linphone/getting_started.html
https://wiki.linphone.org/wiki/index.php/Raspberrypi:start

In each of one are  different code's snipets or examples. My question is about the callback's statements:

Statement of first page:
callbacks = {
        'global_state_changed': global_state_changed,
        'registration_state_changed': registration_state_changed,
    }

Statement of second page:
callbacks = {
      'call_state_changed': self.call_state_changed,
    }

So, (maybe is a bad question) but exist's a callback list? if yes, where? because I can't found it. If not, how can I know the callback's definitions?

Again sorry for my English and thanks in advance.

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


reply via email to

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