Changeset 2375 for pjproject/trunk/pjsip-apps/src/python/pjsua.py
- Timestamp:
- Dec 11, 2008 11:18:33 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/python/pjsua.py
r2374 r2375 2138 2138 return _pjsua.handle_events(timeout) 2139 2139 2140 def thread_register(self, name): 2141 """Register external threads (threads that are not created by PJSIP, 2142 such as threads that are created by Python API) to PJSIP. 2143 2144 The call must be made from the new thread before calling any pjlib 2145 functions. 2146 2147 Keyword arguments: 2148 name -- Non descriptive name for the thread 2149 """ 2150 dummy = 1 2151 err = _pjsua.thread_register(name, dummy) 2152 self._err_check("thread_register()", self, err) 2153 2140 2154 def verify_sip_url(self, sip_url): 2141 2155 """Verify that the specified string is a valid URI. … … 2733 2747 buddy._cb.on_state() 2734 2748 2735 2736 2737 2738 2749 # 2739 2750 # Internal
Note: See TracChangeset
for help on using the changeset viewer.