Ticket #335 (closed enhancement: fixed)

Opened 10 years ago

Last modified 10 years ago

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

comment:1 Changed 10 years ago by bennylp

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

Fixed in r1378

comment:2 Changed 10 years ago by bennylp

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