Skip to content

Commit

Permalink
Include Panasonic Smart TVs and other old browsers in positive DTS ga…
Browse files Browse the repository at this point in the history
…te by reversing the DTS gate
  • Loading branch information
Joaquim Monserrat committed Jul 12, 2022
1 parent 297e5c9 commit dfa9e51
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/remux/mp4-remuxer.ts
Expand Up @@ -67,9 +67,10 @@ export default class MP4Remuxer implements Remuxer {
const result = navigator.userAgent.match(/Safari\/(\d+)/i);
safariWebkitVersion = result ? parseInt(result[1]) : 0;
}
requiresPositiveDts =
(!!chromeVersion && chromeVersion < 75) ||
(!!safariWebkitVersion && safariWebkitVersion < 600);
requiresPositiveDts = !(
(!!chromeVersion && chromeVersion >= 75) ||
(!!safariWebkitVersion && safariWebkitVersion >= 600)
);
}

destroy() {}
Expand Down

0 comments on commit dfa9e51

Please sign in to comment.