Changes between Version 3 and Version 4 of Ticket #937
- Timestamp:
- Aug 26, 2009 9:20:35 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #937 – Description
v3 v4 2 2 - {{{pjsua_pres_refresh()}}} will be called every time there is an operation to a buddy, which is not very efficient since this function scans the buddy list for modifications. 3 3 - the use of {{{LOCK_BUDDIES}}}/{{{LOCK_BUDDIES}}} (introduced by #351) has been identified to have caused slow performance, especially on mobile devices, since it prevents other thread from working with different buddy object every time the main thread does something with a buddy. 4 - handle 481 response in client subscription automatically, so make subscription refresh for that particular buddy occurs more rapidly.5 4 - buddy may need individual timer, so that refreshes do not happen all at once. 6 5 - add the last subscription status code (not just reason string) in the buddy info, so that application may handle some other failures with the buddy subscription 7 6 - sending of PUBLISH in relation to REGISTER 8 7 - handle several cases where PJSUA-LIB should re-subscribe to buddy's presence immediately, rather than relying on the timer: 8 - 481 response 9 - subscription is terminated with "deactivated" reason