Ticket #386 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

Over-deinitialize sound subsystem in pjsua_media.c (thanks Jiandong Ruan)

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

pjsua_media_subsys_destroy() unnecessarily calls pjmedia_snd_deinit(), while this should've already been done in pjmedia_endpt_destroy(). Because of this, subsequent pjsua restart (within the same process) may fail to initialize sound device.

Thanks Jiandong Ruan for reporting this.

Change History

comment:1 Changed 9 years ago by bennylp

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

Fixed in r1465

Note: See TracTickets for help on using tickets.