You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are running Network test on iOS by first testing with test session id and later running an actual user session with actual session id for event. When running this use case, iOS App crashes. This crash does not happen if we use Android code. We looked at network test code for iOS and here is the issue:
• Network test overrides the microphone’s audio module with a custom audio module object
• After the test, the custom audio module object’s clean-up is attempted
• However, the clean-up seemingly fails, as when a real session tries to use the audio module later, it results in a crash
• We have tested that the crash is avoided when we bypass custom audio module settings in the sample. Here are snippets of code that we commented:
Function Name: dispatchResultsToDelegateWithResult
Commented lines (101-102)
[_myAudioDevice setAudioPlayoutMute:NO];
[OTAudioDeviceManager setAudioDevice:nil];
• In this case, the default audio device, picks up the audio, just as in case of a real session. But we get audio bandwidth difference as compared to when we use custom audio module
The text was updated successfully, but these errors were encountered:
We are running Network test on iOS by first testing with test session id and later running an actual user session with actual session id for event. When running this use case, iOS App crashes. This crash does not happen if we use Android code. We looked at network test code for iOS and here is the issue:
• Network test overrides the microphone’s audio module with a custom audio module object
• After the test, the custom audio module object’s clean-up is attempted
• However, the clean-up seemingly fails, as when a real session tries to use the audio module later, it results in a crash
• We have tested that the crash is avoided when we bypass custom audio module settings in the sample. Here are snippets of code that we commented:
File: OTNetworkTest.m
Function Name: runConnectivityTestWithApiKey
Commented lines (66-72):
if(!_myAudioDevice)
{
_myAudioDevice = [[OTDefaultAudioDevice alloc] init];
}
[OTAudioDeviceManager setAudioDevice:_myAudioDevice];
[_myAudioDevice setAudioPlayoutMute:YES];
Function Name: dispatchResultsToDelegateWithResult
Commented lines (101-102)
[_myAudioDevice setAudioPlayoutMute:NO];
[OTAudioDeviceManager setAudioDevice:nil];
• In this case, the default audio device, picks up the audio, just as in case of a real session. But we get audio bandwidth difference as compared to when we use custom audio module
The text was updated successfully, but these errors were encountered: