millicast / millicast-native-sdk

SDK to build native clients using the Millicast platform.
Other
17 stars 5 forks source link

Crash with `com.apple.coreaudio.avfaudio` #27

Open raymondhytang opened 4 months ago

raymondhytang commented 4 months ago

We are seeing a repeatable crash in the wild related to Millicast audio, but so far have been unable to find a way to reproduce it locally consistently.

+[NSException raise:format:] com.apple.coreaudio.avfaudio - player did not see an IO cycle.

and

Fatal Exception: com.apple.coreaudio.avfaudio required condition is false: IsFormatSampleRateAndChannelCountValid(format)

When the error occurs on a device or simulator, our app crashes and it will consistently crash each time the Millicast SDK attempts to subscribe to a stream. The only way we've found to stop the crashes from happening is to restart the device or simulator.

We are using version 1.8.5 of the iOS SDK.

Do you have any insight into this crash or anything we could be doing on our end to protect against this?

aravind-raveendran commented 3 months ago

Hi @raymondhytang, thanks for reporting the issue. I will take a look at it. Would you be able to share with us - the full crash log for this issue here or in email?