API-Examples
API-Examples copied to clipboard
AgoraAudioCriticalSection causes ios agora-ScreenShare-Exension demo to crash with EXC_BAD_ACCESS
Tested on: ios 14.6, iPad Pro
Steps to reproduce:
- Build and run APIExample demo ios app
- Launch extension via picker in APIExample container app and start screen broadcasting.
- Navigate to any app playing in app audio
- Observe EXC_BAD_ACCESS crash occurring on this line.

Have observed similar behavior with mic audio as well. Seems to occur if I start the broadcast without the mic enabled and then enable the mic while the broadcast extension is running.
can you have a try with dev/screensharing branch?
@yoreland Yes, I have try with dev/screensharing branch.