Skip to content

Commit

Permalink
[Test] Timeout for Initial Subscribe Call
Browse files Browse the repository at this point in the history
  • Loading branch information
jaruba committed May 30, 2024
1 parent 07a9ca4 commit e2d4dd0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/WebOsVideo/WebOsVideo.js
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,9 @@ function WebOsVideo(options) {
if (videoElement.mediaId) {
knownMediaId = videoElement.mediaId;
clearInterval(timer);
subscribe(cb);
setTimeout(function() {
subscribe(cb);
}, 500);
return;
}
count++;
Expand Down

0 comments on commit e2d4dd0

Please sign in to comment.