Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#335 closed enhancement (fixed)

Detect timestamp jump to avoid excessive CPU usage in master clock (thanks ChenHuan)

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-0.8.0
Component: pjmedia Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

The master clock calls callback on every time tick, and if there is a large different in time between two invocations it will try to catch up missing ticks. This will cause callback to be called excessively.

Change History (2)

comment:1 Changed 12 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r1378

comment:2 Changed 12 years ago by bennylp

  • Type changed from defect to enhancement
Note: See TracTickets for help on using tickets.