Ticket #393 (closed enhancement: fixed)

Opened 10 years ago

Last modified 10 years ago

Added configuration to set basic audio frame length to minimize audio latency

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

Description

In pjsua-lib, audio frame length was controlled by PTIME macro in pjsua_media.c, which value is hard-coded to 20 ms. Some application may want to set different value to get lower latency.

Change History

comment:1 Changed 10 years ago by bennylp

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

In r1482:

  • added pjsua_media_config.audio_frame_ptime to control audio frame length. Default value has been changed from 20 to 10 ms to get lower latency.
Note: See TracTickets for help on using tickets.