Opened 12 years ago

Last modified 11 years ago

#937 closed enhancement

Revamping of presence management to make it more efficient — at Initial Version

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-1.5
Component: pjsua-lib Version: trunk
Keywords: Cc: johan, emil
Backport to 1.x milestone: Backported:


Some issues to be fixed in the presence management in PJSUA-LIB:

  • 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.
  • 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.
  • handle 481 response in client subscription automatically, so make subscription refresh for that particular buddy occurs more rapidly.

Change History (0)

Note: See TracTickets for help on using tickets.