Skip to content

Commit

Permalink
Fix Retries on Tizen 5
Browse files Browse the repository at this point in the history
  • Loading branch information
jaruba committed Mar 1, 2024
1 parent a827009 commit 759f573
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/TizenVideo/TizenVideo.js
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,9 @@ function TizenVideo(options) {
}, function(error) {
if (retries < maxRetries) {
retries++;
try {
window.webapis.avplay.stop();
} catch(e) {}
command('load', commandArgs);
} else {
onError(Object.assign({}, ERROR.STREAM_FAILED_TO_LOAD, {
Expand Down

0 comments on commit 759f573

Please sign in to comment.