Ticket #680 (closed defect: fixed)

Opened 9 years ago

Last modified 8 years ago

Detection of handset's frame ptime in APS

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

Description (last modified by bennylp) (diff)

With APS, devices may return different audio frame ptime (either 10ms or 20ms), depending on the handset or in some cases perhaps even the firmware version of the same handset. Details can be found here (Thanks Tonjun Banaag for the report).

The APS implementation needs to be able to detect which frame size the device uses, or otherwise the audio will be distorted.

Also currently 'samples_per_frame' param of pjmedia_snd_open() is ignored. This needs to be fixed as well.

(Stable branch: the corresponding ticket is #690)

Change History

comment:1 follow-up: ↓ 2 Changed 8 years ago by nanang

  • Milestone changed from unassigned to release-1.0.2

Ticket #680:

  • Fixed Symbian APS G.711 frame size variation issue.
  • Fixed APS implementation to regard 'samples_per_frame' setting.
  • Added APIs for u-law/a-law <-> PCM bulk conversions.

comment:2 in reply to: ↑ 1 Changed 8 years ago by nanang

Missed info for previous update: it should refer to changeset r2416.

comment:3 Changed 8 years ago by nanang

In r2418: Wrong frame size passed to sound port player callback by Symbian APS.

comment:4 Changed 8 years ago by bennylp

  • Milestone changed from release-1.0.2 to release-1.1

comment:5 Changed 8 years ago by bennylp

  • Status changed from new to closed
  • Resolution set to fixed
  • Description modified (diff)
  • Summary changed from Frame time issues in Symbian APS sound implementation. to Detection of handset's frame ptime in APS

Note that the fixes above have been copied to the 1.0 branch.

comment:6 Changed 8 years ago by bennylp

  • Description modified (diff)
Note: See TracTickets for help on using tickets.