Ticket #1872 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

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

Description

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

comment:1 Changed 3 years ago by nanang

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

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.