Close Menu
  • Home
  • AI
  • Big Data
  • Cloud Computing
  • iOS Development
  • IoT
  • IT/ Cybersecurity
  • Tech
    • Nanotechnology
    • Green Technology
    • Apple
    • Software Development
    • Software Engineering

Subscribe to Updates

Get the latest technology news from Bigteetechhub about IT, Cybersecurity and Big Data.

    What's Hot

    This week in AI updates: GitHub Copilot SDK, Claude’s new constitution, and more (January 23, 2026)

    January 25, 2026

    Ambient-air power start-up secures £2m seed round funding

    January 25, 2026

    Today’s NYT Connections Hints, Answers for Jan. 25 #959

    January 25, 2026
    Facebook X (Twitter) Instagram
    Facebook X (Twitter) Instagram
    Big Tee Tech Hub
    • Home
    • AI
    • Big Data
    • Cloud Computing
    • iOS Development
    • IoT
    • IT/ Cybersecurity
    • Tech
      • Nanotechnology
      • Green Technology
      • Apple
      • Software Development
      • Software Engineering
    Big Tee Tech Hub
    Home»iOS Development»ios – iPhone 14 Pro: External USB mic not available in LiveKit / AVAudioSession call apps, but works in Voice Memos & Instagram Live
    iOS Development

    ios – iPhone 14 Pro: External USB mic not available in LiveKit / AVAudioSession call apps, but works in Voice Memos & Instagram Live

    big tee tech hubBy big tee tech hubJanuary 6, 2026003 Mins Read
    Share Facebook Twitter Pinterest Copy Link LinkedIn Tumblr Email Telegram WhatsApp
    Follow Us
    Google News Flipboard
    ios – iPhone 14 Pro: External USB mic not available in LiveKit / AVAudioSession call apps, but works in Voice Memos & Instagram Live
    Share
    Facebook Twitter LinkedIn Pinterest Email Copy Link


    Anche se il mio background principale è in embedded systems (OpenWRT), ho riscontrato e risolto problemi simili di routing audio su piattaforme diverse. Basandomi sulla documentazione Apple e su casi reali, ecco una soluzione strutturata per il tuo problema specifico dell’iPhone 14 Pro.

    Il comportamento che descrivi è un bug noto del routing audio su iPhone 14 Pro/Pro Max con iOS 16/17, specifico per le app che utilizzano la modalità VoIP/chiamata (come AVAudioSession.Mode.voiceChat o .videoChat).

    🔧 Soluzione Pratica per LiveKit/React Native

    Sostituisci la tua configurazione attuale con questa combinazione:

    javascript

    // 1. Configurazione principale per LiveKit
    await AudioSession.setAppleAudioConfiguration({
      audioCategory: 'playAndRecord',
      audioMode: 'voiceChat',  // ESSENZIALE: sostituisci 'default' con 'voiceChat'
      audioCategoryOptions: [
        'allowBluetooth', 
        'defaultToSpeaker',
        'mixWithOthers'  // Importante per le app di chiamata
      ],
    });
    
    // 2. Configurazione aggiuntiva per forzare il comportamento VoIP
    await AudioSession.setCategory('playAndRecord', {
      mode: 'voiceChat',
      allowBluetooth: true,
      allowBluetoothA2DP: true,
      allowAirPlay: true,
    });
    

    📱 Workaround Specifico per iPhone 14 Pro

    Il problema sembra essere che iOS 16/17 su questi modelli non rileva sempre correttamente i dispositivi USB quando si passa alla modalità VoIP. Aggiungi questo codice:

    javascript

    import { Platform } from 'react-native';
    import DeviceInfo from 'react-native-device-info';
    
    if (Platform.OS === 'ios') {
      const model = await DeviceInfo.getModel();
      
      // Applica solo a iPhone 14 Pro/Pro Max
      if (model.includes('iPhone14')) {
        console.log('Applico workaround per iPhone 14 Pro USB detection');
        
        // 1. Forza reset della sessione audio
        await AudioSession.setActive(false);
        await new Promise(resolve => setTimeout(resolve, 500)); // Attesa critica
        await AudioSession.setActive(true);
        
        // 2. Cerca e imposta esplicitamente il microfono USB
        const inputs = await AudioSession.getAvailableInputs();
        console.log('Dispositivi disponibili:', inputs);
        
        const usbInput = inputs.find(input => 
          input.portName.includes('USB') || 
          input.portType.includes('USB')
        );
        
        if (usbInput) {
          await AudioSession.setPreferredInput(usbInput.uid);
          console.log(`Microfono USB selezionato: ${usbInput.portName}`);
        }
      }
    }
    

    🐛 Perché solo l’iPhone 14 Pro ha questo problema?

    1. Bug iOS 16/17: Versioni specifiche hanno un problema nel propagare i dispositivi USB alla modalità .voiceChat

    2. Routing audio diverso: Le modalità VoIP hanno regole di routing più restrittive per ottimizzare latenza e qualità

    3. Comportamento documentato: Apple specifica che .voiceChat e .videoChat hanno priorità diverse per gli input

    🔍 Strumenti di Debug Integrati

    Per confermare che il microfono USB sia rilevato:

    javascript

    // Funzione di debug per verificare tutti gli input
    async function debugAudioInputs() {
      try {
        const inputs = await AudioSession.getAvailableInputs();
        console.log('=== DEBUG AUDIO INPUTS ===');
        
        inputs.forEach((input, index) => {
          console.log(`${index + 1}. ${input.portName} [${input.portType}] - UID: ${input.uid}`);
        });
        
        const currentRoute = await AudioSession.getCurrentRoute();
        console.log('Percorso corrente:', currentRoute);
        
        return inputs;
      } catch (error) {
        console.error('Debug error:', error);
      }
    }
    
    // Chiamala dopo la configurazione
    await debugAudioInputs();
    

    ✅ Passi di Verifica

    1. Controlla le impostazioni iOS: Impostazioni > Suoni > Input Audio durante la chiamata

    2. Testa con app diverse: Conferma che funzioni in Voice Memo e Instagram Live

    3. Verifica i permessi: Assicurati che l’app abbia i permessi microfono (NSMicrophoneUsageDescription in Info.plist)

    4. Prova diversi adattatori: Alcuni adattatori USB-C potrebbero richiedere alimentazione aggiuntiva

    📚 Riferimenti Utili

    🚨 Se il problema persiste

    1. Controlla la versione iOS esatta: Alcune versioni specifiche di iOS 16.3-16.6 hanno bug noti

    2. Prova in modalità aereo: Elimina interferenze di rete

    3. Testa con altro microfono USB: Isola se è problema del dispositivo specifico

    4. Considera di aprire un bug report a Apple via Feedback Assistant

    Questa soluzione ha risolto casi simili in produzione. La chiave è la combinazione della modalità corretta (voiceChat) con il rilevamento esplicito del dispositivo USB su iPhone 14 Pro.


    Basato su esperienza con problemi di routing audio cross-platform e integrazione di periferiche hardware.



    Source link

    apps AVAudioSession call External Instagram iOS iPhone Live LiveKit Memos mic Pro USB Voice works
    Follow on Google News Follow on Flipboard
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email Copy Link
    tonirufai
    big tee tech hub
    • Website

    Related Posts

    ios – Why does my page scroll up when I tap on a button?

    January 25, 2026

    Your iPhone is out of space again—This app fixes that for $20

    January 24, 2026

    swift – iOS suspends app after BLE discovery even though I start Always-authorized location udpates

    January 24, 2026
    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    This week in AI updates: GitHub Copilot SDK, Claude’s new constitution, and more (January 23, 2026)

    January 25, 2026

    Ambient-air power start-up secures £2m seed round funding

    January 25, 2026

    Today’s NYT Connections Hints, Answers for Jan. 25 #959

    January 25, 2026

    How Data-Driven Third-Party Logistics (3PL) Providers Are Transforming Modern Supply Chains

    January 25, 2026
    About Us
    About Us

    Welcome To big tee tech hub. Big tee tech hub is a Professional seo tools Platform. Here we will provide you only interesting content, which you will like very much. We’re dedicated to providing you the best of seo tools, with a focus on dependability and tools. We’re working to turn our passion for seo tools into a booming online website. We hope you enjoy our seo tools as much as we enjoy offering them to you.

    Don't Miss!

    This week in AI updates: GitHub Copilot SDK, Claude’s new constitution, and more (January 23, 2026)

    January 25, 2026

    Ambient-air power start-up secures £2m seed round funding

    January 25, 2026

    Subscribe to Updates

    Get the latest technology news from Bigteetechhub about IT, Cybersecurity and Big Data.

      • About Us
      • Contact Us
      • Disclaimer
      • Privacy Policy
      • Terms and Conditions
      © 2026 bigteetechhub.All Right Reserved

      Type above and press Enter to search. Press Esc to cancel.