Unplug the headphones stop audio play and record

When i make a call within our VOIP application (ipadOS app on MacOS and M1 - MBP 16) all is fine.

If i make a call with plugged in headphones - all is fine.

If i unplug the headphones during the call - whole audio just stop working.

If i hang up the call, make the call again - audio is there with no problems.

On iPhone and iPad work correctly.

Where can be a problem?

HALC_ShellDevice::CreateIOContextDescription: failed to get a description from the server
HALC_ProxyIOContext::IOWorkLoop: the server failed to start, Error: 0x6E6F7065
HALC_ProxyIOContext::IOWorkLoop: the server failed to start, Error: 0x6E6F7065
HALC_ProxyIOContext::IOWorkLoop: the server failed to start, Error: 0x6E6F7065
AudioObjectGetPropertyDataSize: no object with given ID 73
AudioObjectHasProperty: no object with given ID 66
AudioObjectHasProperty: no object with given ID 66
AudioObjectHasProperty: no object with given ID 0
[auvp] AUVPAggregate.cpp:4413  Failed to get current tap stream physical format, err=2003332927
AudioObjectGetPropertyDataSize: no object with given ID 66
AudioObjectGetPropertyData: no object with given ID 66
AudioObjectHasProperty: no object with given ID 66
AudioObjectRemovePropertyListener: no object with given ID 66
AudioObjectHasProperty: no object with given ID 73
AudioObjectHasProperty: no object with given ID 66
AudioObjectGetPropertyDataSize: no object with given ID 73
AudioObjectHasProperty: no object with given ID 66
AudioObjectHasProperty: no object with given ID 66
HALC_ProxySystem::GetObjectInfo: got an error from the server, Error: 560947818 (!obj)
AudioObjectHasProperty: no object with given ID 73
AudioObjectHasProperty: no object with given ID 66
HALC_ShellObject::HasProperty: there is no proxy object
AudioObjectHasProperty: no object with given ID 73
AudioObjectHasProperty: no object with given ID 73
[auvp] AUVPAggregate.cpp:6912  error 2003332927 getting input sample rate
AudioObjectHasProperty: no object with given ID 73
[auvp] AUVPAggregate.cpp:6922  error 2003332927 getting input latency
AudioObjectHasProperty: no object with given ID 73
[auvp] AUVPAggregate.cpp:6932  error 2003332927 getting input safety offset
AudioObjectHasProperty: no object with given ID 66
[auvp] AUVPAggregate.cpp:6944  error 2003332927 getting tap stream input latency
AudioObjectHasProperty: no object with given ID 66
[auvp] AUVPAggregate.cpp:6954  error 2003332927 getting tap stream input safety offset
AudioObjectHasProperty: no object with given ID 73
[auvp] AUVPAggregate.cpp:6965  error 2003332927 getting output sample rate
AudioObjectHasProperty: no object with given ID 66
[auvp] AUVPAggregate.cpp:6975  error 2003332927 getting output latency
AudioObjectHasProperty: no object with given ID 66
AudioDeviceDuck: no device with given ID
[auvp] AUVPAggregate.cpp:6985  error 2003332927 getting output safety offset
AudioObjectHasProperty: no object with given ID 73
AudioObjectHasProperty: no object with given ID 73
AudioObjectHasProperty: no object with given ID 73
AudioObjectHasProperty: no object with given ID 66
AudioObjectsPublishedAndDied: no such owning object
AudioObjectsPublishedAndDied: no such owning object
AudioObjectHasProperty: no object with given ID 73
AudioObjectHasProperty: no object with given ID 66
AudioObjectHasProperty: no object with given ID 73
[auvp] AUVPAggregate.cpp:6912  error 2003332927 getting input sample rate
AudioObjectHasProperty: no object with given ID 73
[auvp] AUVPAggregate.cpp:6922  error 2003332927 getting input latency
AudioObjectHasProperty: no object with given ID 73
[auvp] AUVPAggregate.cpp:6932  error 2003332927 getting input safety offset
AudioObjectHasProperty: no object with given ID 66
[auvp] AUVPAggregate.cpp:6944  error 2003332927 getting tap stream input latency
AudioObjectHasProperty: no object with given ID 66
[auvp] AUVPAggregate.cpp:6954  error 2003332927 getting tap stream input safety offset
AudioObjectHasProperty: no object with given ID 73
[auvp] AUVPAggregate.cpp:6965  error 2003332927 getting output sample rate
AudioObjectHasProperty: no object with given ID 66
[auvp] AUVPAggregate.cpp:6975  error 2003332927 getting output latency
AudioObjectHasProperty: no object with given ID 66
[auvp] AUVPAggregate.cpp:6985  error 2003332927 getting output safety offset
AudioObjectHasProperty: no object with given ID 73
AudioObjectHasProperty: no object with given ID 73
AudioObjectPropertiesChanged: no such object
[auvp] AUVPAggregate.cpp:2799  AggCompChanged wait failed
AudioObjectHasProperty: no object with given ID 73
AudioObjectHasProperty: no object with given ID 73
AudioObjectSetPropertyData: no object with given ID 73
[auvp] AUVPUtilities.cpp:472   SetDeviceMuteState(73) false: (err=560947818)
AudioObjectHasProperty: no object with given ID 73
AudioObjectHasProperty: no object with given ID 73
[auvp] AUVPUtilities.cpp:560   SetCFNumberValueForKeyInDescriptionDictionary(73); doesn't support 'cdes'
AudioObjectHasProperty: no object with given ID 73
AudioObjectHasProperty: no object with given ID 73
AudioObjectHasProperty: no object with given ID 73
AudioObjectHasProperty: no object with given ID 73
AudioObjectGetPropertyDataSize: no object with given ID 73
AudioObjectHasProperty: no object with given ID 66
AudioObjectHasProperty: no object with given ID 66
AudioObjectHasProperty: no object with given ID 66
[auvp] AUVPUtilities.cpp:560   SetCFNumberValueForKeyInDescriptionDictionary(66); doesn't support 'cdes'
AudioObjectHasProperty: no object with given ID 66
AudioObjectHasProperty: no object with given ID 66
[auvp] AUVPAggregate.cpp:3523  VP block error num input channels is unexpected (err=-66784)
[vp] vpStrategyManager.mm:358   Error code 2003332927 reported at GetPropertyInfo
[vp] vpStrategyManager.mm:358   Error code 2003332927 reported at GetPropertyInfo
HALC_ProxySystem::GetObjectInfo: got an error from the server, Error: 560947818 (!obj)
HALC_ShellDevice::RebuildStreamLists: there is no device
[vp] vpStrategyManager.mm:358   Error code 2003332927 reported at GetPropertyInfo
[vp] vpStrategyManager.mm:358   Error code 2003332927 reported at GetPropertyInfo
Unplug the headphones stop audio play and record
 
 
Q