#2081 closed defect (fixed)

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 (1)

comment:1 Changed 17 months ago by ming

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

In 5724:

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

Note: See TracTickets for help on using tickets.