Skip to content

Commit

Permalink
Merge pull request #1129 from gasperov/special/gal-function-fix
Browse files Browse the repository at this point in the history
Update rtcSetSignalingStateChangeCallback
  • Loading branch information
paullouisageneau committed Mar 10, 2024
1 parent 37719d1 commit 2e2783c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/capi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ int rtcSetSignalingStateChangeCallback(int pc, rtcSignalingStateCallbackFunc cb)
cb(pc, static_cast<rtcSignalingState>(state), *ptr);
});
else
peerConnection->onGatheringStateChange(nullptr);
peerConnection->onSignalingStateChange(nullptr);
return RTC_ERR_SUCCESS;
});
}
Expand Down

0 comments on commit 2e2783c

Please sign in to comment.