Ticket #2081 (closed defect: fixed)

Opened 6 months ago

Last modified 6 months ago

Fixed assertion when setting audio dev in PJSUA2

Reported by: ming Owned by: bennylp
Priority: normal Milestone: release-2.8
Component: pjsua2 Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

It happens after calling AudDevManager::setNoDev(), then trying to set back the audio device with setCaptureDev()/setPlaybackDev(). This is because in pjsua2, we can only set one device (either capture/playback) at a time, so the other device still has an invalid ID.

Assertion failed: (param && id!=PJMEDIA_AUD_INVALID_DEV), function pjmedia_aud_dev_default_param, file ../src/pjmedia/audiodev.c, line 487.

Change History

comment:1 Changed 6 months ago by ming

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

In 5724:

Fixed #2081: Assertion when setting audio dev in PJSUA2.

Note: See TracTickets for help on using tickets.