- Timestamp:
- Dec 4, 2013 12:19:48 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/pjsua2/pjsip-apps/src/pygui/call.py
r4671 r4677 51 51 self.chat.updateCallState(self, ci) 52 52 53 def onCallMediaState(self, prm): 54 ci = self.getInfo() 55 for mi in ci.media: 56 if mi.type == pj.PJMEDIA_TYPE_AUDIO and \ 57 (mi.status == pj.PJSUA_CALL_MEDIA_ACTIVE or \ 58 mi.status == pj.PJSUA_CALL_MEDIA_REMOTE_HOLD): 59 m = self.getMedia(mi.index) 60 print m 61 53 62 def onInstantMessage(self, prm): 54 63 # chat instance should have been initalized
Note: See TracChangeset
for help on using the changeset viewer.