Skip to content

Commit

Permalink
Merge branch 'state_machine_constructor_decouple' of github.com:awsla…
Browse files Browse the repository at this point in the history
…bs/amazon-kinesis-video-streams-webrtc-sdk-c into state_machine_constructor_decouple
  • Loading branch information
jdelapla committed Dec 10, 2021
2 parents 38eafd5 + 1e9247a commit 673b8e4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/source/Signaling/Client.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ STATUS createSignalingClientSync(PSignalingClientInfo pClientInfo, PChannelInfo
// It is the application's responsibility to fix any validation/null-arg/bad configuration type errors.
CHK(retStatus != STATUS_SUCCESS, retStatus);

DLOGE("Create Signaling Sync API returned [0x%08x] %d\n", retStatus, signalingClientCreationMaxRetryCount);
DLOGE("Create Signaling Sync API returned [0x%08x] %u\n", retStatus, signalingClientCreationMaxRetryCount);
if (signalingClientCreationMaxRetryCount <= 0) {
break;
}
Expand All @@ -99,8 +99,8 @@ STATUS createSignalingClientSync(PSignalingClientInfo pClientInfo, PChannelInfo
&signalingClientCreationWaitTime));

DLOGV("Attempting to back off for [%lf] milliseconds before creating signaling client again. "
"Signaling client creation retry count [%d]",
retStatus, signalingClientCreationWaitTime / 1000.0, signalingClientCreationMaxRetryCount);
"Signaling client creation retry count [%u]",
retStatus, signalingClientCreationWaitTime / 1000.0f, signalingClientCreationMaxRetryCount);
THREAD_SLEEP(signalingClientCreationWaitTime);
signalingClientCreationMaxRetryCount--;
}
Expand Down Expand Up @@ -209,7 +209,7 @@ STATUS signalingClientFetchSync(SIGNALING_CLIENT_HANDLE signalingClientHandle)
// It is the application's responsibility to fix any validation/null-arg/bad configuration type errors.
CHK(retStatus != STATUS_SUCCESS, retStatus);

DLOGE("Create Signaling Sync API returned [0x%08x] %d\n", retStatus, signalingClientCreationMaxRetryCount);
DLOGE("Create Signaling Sync API returned [0x%08x] %u\n", retStatus, signalingClientCreationMaxRetryCount);
if (signalingClientCreationMaxRetryCount <= 0) {
break;
}
Expand All @@ -221,8 +221,8 @@ STATUS signalingClientFetchSync(SIGNALING_CLIENT_HANDLE signalingClientHandle)
&signalingClientCreationWaitTime));

DLOGV("Attempting to back off for [%lf] milliseconds before creating signaling client again. "
"Signaling client creation retry count [%d]",
retStatus, signalingClientCreationWaitTime / 1000.0, signalingClientCreationMaxRetryCount);
"Signaling client creation retry count [%u]",
retStatus, signalingClientCreationWaitTime / 1000.0f, signalingClientCreationMaxRetryCount);
THREAD_SLEEP(signalingClientCreationWaitTime);
signalingClientCreationMaxRetryCount--;
}
Expand Down

0 comments on commit 673b8e4

Please sign in to comment.