Skip to content

Instantly share code, notes, and snippets.

@pixlhero
pixlhero / AVAudioSession.cs
Created December 13, 2023 09:04
Echo cancellation workaround iOS
using System.Runtime.InteropServices;
using UnityEngine;
public static class AVAudioSession
{
[DllImport("__Internal")]
private static extern void _SetupAudioModeForVideoCall();
public static void SetupAudioModeForVideoCall()
{