AgoraIO-Extensions / AgoraIO-Extensions/Agora-Flutter-SDK

`agora_rtc_engine` has a very slow cold start on iOS 18. The first call to `RtcEngine.initialize()` can block for ~47-62 seconds. After it completes once, later calls are fast.

Aperta
#2,630 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Dart
Stelle
795
Fork
448
Merge medio
12h 19m
PR unite (30g)
14

Descrizione

On iOS 18 first launch / cold start, RtcEngine.initialize() takes ~47-62 seconds before the Flutter app can proceed to join the channel.

Impact
The first call attempt appears stuck or fails because call/session timeouts fire before Agora finishes initializing. The second call works because the engine/audio stack is already warmed.

Workaround
We currently pre-warm the Agora engine earlier in the app, but this is only a workaround. The SDK should not block this long on first initialization.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.