- Timestamp:
- Jul 11, 2008 9:14:40 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/python/pjsua.py
r2120 r2122 2154 2154 """ 2155 2155 slot = _pjsua.player_get_conf_port(player_id) 2156 self._err_check("player_get_slot()", self, -1, "Invalid player id") 2156 if slot < 0: 2157 self._err_check("player_get_slot()", self, -1, 2158 "Invalid player id") 2157 2159 return slot 2158 2160 … … 2203 2205 """ 2204 2206 slot = _pjsua.recorder_get_conf_port(rec_id) 2205 self._err_check("recorder_get_slot()", self, -1, "Invalid recorder id") 2207 if slot < 1: 2208 self._err_check("recorder_get_slot()", self, -1, 2209 "Invalid recorder id") 2206 2210 return slot 2207 2211
Note: See TracChangeset
for help on using the changeset viewer.