Mic issue with recording

Hi,

I have an application where I am talking to a character through the microphone and the response audio is used to create lip-sync for the character in real-time. Now, the issue I am facing is that when I try to record the application by pressing the bumper & the home button, I cannot interact with the character anymore and so I don’t get any response. I noticed a similar issue mentioned here: Recording and mic priority

Is there any fix to this? If it helps, I am using:

Unity Editor version: 2022.2.20
ML2 OS version: 1.4.1
Unity DK version: 1.12.0
Development OS: Windows

Hi @Zul01,

Thank you for reaching out regarding this issue. We have shared your feedback with our voice of customer team and I will report back as soon as we learn more.

Best,

El

What version of the MLHub are you using?

Magic Leap Hub Version: 2.0.16.202310131410

MLSDK version: 1.4.0

Hi,

Any update on this matter? Thanks.

Hi @Zul01,

We are still working on this issue and I will report back as soon as I have more details. This issue is very important to us and we are taking a closer look. At the moment we are using the default Android behavior for the microphone which only allows one source to consume audio input at a time as a security feature.

Thanks,

El

Hi,

I would like to know if there is any update on this issue ?

Thanks.

We have reported your request to the Voice of Customer team for now you cannot record your application and interact with the microphone.

You may be able to get around this limitation by using the magic leap 2 recorder API in your application directory. This api is part of the MLSDK.

You can see an example of the API implementation in the capture example inside the 1.12.0 version of the Unity Examples project.