Skip to content

Commit

Permalink
Retry count log message
Browse files Browse the repository at this point in the history
  • Loading branch information
sirknightj committed Aug 17, 2023
1 parent 729fc92 commit a90f93e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/master.js
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ async function callJoinStorageSessionUntilSDPOfferReceived(runId, kinesisVideoWe
let shouldRetryCallingJoinStorageSession = true;
while (shouldRetryCallingJoinStorageSession && !master.sdpOfferReceived && master.runId === runId && master.websocketOpened) {
if (!firstTime) {
console.warn(`Did not receive SDP offer from Media Service. Retrying... (${master.currentJoinStorageSessionRetries++})`);
console.warn(`Did not receive SDP offer from Media Service. Retrying... (${++master.currentJoinStorageSessionRetries})`);
}
firstTime = false;
try {
Expand Down

0 comments on commit a90f93e

Please sign in to comment.