Explorar o código

Fixed signaling state callback in C API test

Paul-Louis Ageneau %!s(int64=4) %!d(string=hai) anos
pai
achega
495b389e05
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      test/capi_connectivity.cpp

+ 1 - 0
test/capi_connectivity.cpp

@@ -161,6 +161,7 @@ static Peer *createPeer(const rtcConfiguration *config) {
 	rtcSetLocalCandidateCallback(peer->pc, candidateCallback);
 	rtcSetStateChangeCallback(peer->pc, stateChangeCallback);
 	rtcSetGatheringStateChangeCallback(peer->pc, gatheringStateCallback);
+	rtcSetSignalingStateChangeCallback(peer->pc, signalingStateCallback);
 
 	return peer;
 }