Opened 9 years ago

Closed 9 years ago

#1872 closed enhancement (fixed)

Move iOS audio session category setting to factory initialisation

Reported by: nanang Owned by: nanang
Priority: normal Milestone: release-2.4.5
Component: pjmedia-audiodev Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no


Currently each open operation of iOS audio device will reset AVAudioSession category to AVAudioSessionCategoryPlayAndRecord (and without any option), so there is a risk that any audio session settings set by application to be reseted or overridden. To avoid that, the category setting will be moved to audio device factory initialisation.

Change History (1)

comment:1 Changed 9 years ago by nanang

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

In 5142:

Close #1872:

  • Moved iOS audio session category setting to factory initialisation, with option of enabling bluetooth by default.
  • Also set audio session mode to AVAudioSessionModeVoiceChat.
Note: See TracTickets for help on using tickets.