diff --git a/src/capi.cpp b/src/capi.cpp index bcabc9bdc..b6942214a 100644 --- a/src/capi.cpp +++ b/src/capi.cpp @@ -512,7 +512,7 @@ int rtcSetSignalingStateChangeCallback(int pc, rtcSignalingStateCallbackFunc cb) cb(pc, static_cast(state), *ptr); }); else - peerConnection->onGatheringStateChange(nullptr); + peerConnection->onSignalingStateChange(nullptr); return RTC_ERR_SUCCESS; }); }