Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#495 closed enhancement (fixed)

Ability to specify different clock rate when opening sound device in PJSUA-LIB

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

Description


Attachments (1)

ticket495.patch (6.4 KB) - added by nanang 16 years ago.

Download all attachments as: .zip

Change History (4)

Changed 16 years ago by nanang

comment:1 Changed 16 years ago by nanang

Attachment 'ticket495.patch':

  • added snd_clock_rate to pjsua_media_config
  • added command line option --snd-clock-rate
  • changed resampler option to follow pjsua quality option

comment:2 Changed 16 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed
  • Summary changed from Separate setting for sound device clock rate from conference bridge clock rate to Ability to specify different clock rate when opening sound device in PJSUA-LIB

Committed in r1823, thanks.

comment:3 Changed 16 years ago by bennylp

In r1855:

  • snd_clock_rate is now initialized to zero in pjsua_media_config_default()
  • When trying to open sound device with different clock rate in pjsua_media.c, also try to create resample port and only break successfully from the loop if both sound device and resample port can be created. This is necessary because sometimes resampling is disabled (e.g. in WinCE port).
Note: See TracTickets for help on using tickets.