Opened 10 years ago

Closed 19 months ago

#879 closed enhancement (invalid)

Add pjmedia synchronizer port (for audio device).

Reported by: nanang Owned by: nanang
Priority: normal Milestone: Known-Issues-and-Ideas
Component: pjmedia Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

It is a common problem that audio device does not always provide a smooth clock for application, therefore the application may suffer from jitter, burst, or even clock skew/drift. Processing audio frames in such 'messy' clock will just increase the complexity. So, before delivering the stream to other components, it could be very helpful to tidy up the clock at the very beginning (in the audio device).

Attachments (1)

ticket879_changes.zip (20.3 KB) - added by nanang 10 years ago.
History of all changes on this ticket before r2755, including uncomitted patch.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 10 years ago by nanang

In r2747:

  • Added pjmedia synchronizer port.
  • Updated affected components, i.e: sound port, AEC, conference bridge.

comment:2 Changed 10 years ago by nanang

In r2748:

  • Fixed bug in conf bridge create_on_port() (bug of r2747).
  • Updated sound port to instantiate sync port only when audio format is PCM.

comment:3 Changed 10 years ago by bennylp

In r2751:

  • updated VS6, Makefile, and Symbian .mmp project files with new file sync_port.c.

comment:4 Changed 10 years ago by nanang

In r2755:

Decided to restart the project with a better preparation, as problems met are not as simple as I thought. Current and further changes are considered to be (very) major, so it may need to be done in a separate branch.

Changed 10 years ago by nanang

History of all changes on this ticket before r2755, including uncomitted patch.

comment:5 Changed 10 years ago by bennylp

  • Milestone changed from release-1.3 to release-1.4

comment:6 Changed 10 years ago by bennylp

  • Milestone changed from release-1.4 to Known-Issues

comment:7 Changed 19 months ago by nanang

  • Backported unset
  • Resolution set to invalid
  • Status changed from new to closed

TeluuCon? 2018: Audio device clock issues such as clock skew should have been handled now, e.g: delay buffer with its WSOLA can shrink/expand wave, jitter buffer has discard algo.

Note: See TracTickets for help on using tickets.