Fixed call to rtcSetLocalDescription()

This commit is contained in:
Paul-Louis Ageneau
2020-11-01 13:50:44 +01:00
parent 61fe8732a6
commit 73273d6e81
2 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,7 @@ int test_capi_track_main() {
rtcSetClosedCallback(peer1->tr, closedCallback);
// Initiate the handshake
rtcSetLocalDescription(peer1->pc);
rtcSetLocalDescription(peer1->pc, NULL);
attempts = 10;
while ((!peer2->connected || !peer1->connected) && attempts--)