Pavel Balashov

Results 5 comments of Pavel Balashov

> Getting the same error. Did anyone find the solution, or at least any other alternative...? You really can work around this by using: ``` while True: ep.libHandleEvents(10) ``` It...

```python #!/usr/bin/env python3 import pjsua2 as pj import sys, os, logging class Account(pj.Account): def __init__(self): super().__init__() def onRegState(self, prm): logging.debug("***OnRegState: " + prm.reason) def main(): # Create and initialize the...

```python #!/usr/bin/env python3 import sys, os, logging import pjsua2 as pj class Call(pj.Call): def __init__(self, acc, call_id = pj.PJSUA_INVALID_ID): pj.Call.__init__(self, acc, call_id) self.call_state = None def onCallState(self, prm): """ typedef...

@jrozhon For all other advanced stuff > like making/accepting/putting on hold a call and so on you have to consult underlying C++ headers anyway (often even lower C-API). The python...

@jrozhon And one more thing - generally I've noticed when dealing with Cpython callback based bindings care should be taken of python object lifetimes etc. It often can bite really...