inputDataSource
The currently selected input data source.
Declaration
var inputDataSource: AVAudioSessionDataSourceDescription? { get }Discussion
The value of this property is nil if switching between multiple input sources isn’t currently possible. Only certain devices and peripherals, such as an iPhone equipped with both front- and rear-facing microphones, support this feature.