Post

Replies

Boosts

Views

Activity

LoudSpeaker is not working after updating iOS 13
We’re developing mobile application on iOS 12 using AVAudioSession,We’re calling Audio Configuration API’s:AVAudioSession.sharedInstance().overrideOutputAudioPort(.speaker)let audioSession = AVAudioSession.sharedInstance()try audioSession.setCategory(.playAndRecord, mode: .voiceChat)if AppDelegate.isWb{try audioSession.setPreferredSampleRate(16000.0) // for wide band}else{try audioSession.setPreferredSampleRate(sampleRateProvided) // 8000.0}try audioSession.setPreferredIOBufferDuration(self.ioBufferDuration) // 0.02try audioSession.setActive(true)For Input / Output audio settinglet audioComponentDescription = AudioComponentDescription(componentType: kAudioUnitType_Output, componentSubType: kAudioUnitSubType_VoiceProcessingIO, componentManufacturer: kAudioUnitManufacturer_Apple, componentFlags: 0, componentFlagsMask: 0 )try self.auAudioUnit = AUAudioUnit(componentDescription: audioComponentDescription)let outputBus = self.auAudioUnit?.outputBusses[1]try outputBus?.setFormat(audioFormat)let inputBus = self.auAudioUnit?.inputBusses[0]try inputBus?.setFormat(audioFormat)with integration AudioToolBox, AMRAudioRenderering, WBEncoder and WBDecoder frameworks.Now, we upgrade the application for iOS v.13 then serious problem occurred like loudSpeaker is not working and sometimes normal speaker is also not working fine, mute observed.Need the support for this, Thanks In-Advance Apple.
1
0
683
Dec ’19