diff --git a/coreapi/private.h b/coreapi/private.h index e7f66d2b8..a2264af68 100644 --- a/coreapi/private.h +++ b/coreapi/private.h @@ -706,7 +706,7 @@ void linphone_core_update_streams(LinphoneCore *lc, LinphoneCall *call, SalMedia bool_t linphone_core_is_payload_type_usable_for_bandwidth(LinphoneCore *lc, PayloadType *pt, int bandwidth_limit); -#define linphone_core_ready(lc) ((lc)->state!=LinphoneGlobalStartup) +#define linphone_core_ready(lc) ((lc)->state==LinphoneGlobalOn || (lc)->state==LinphoneGlobalShutdown) void _linphone_core_configure_resolver(); struct _EcCalibrator{