Skip to content

Commit

Permalink
fix: reduce playlist exclusion defaults (#1413)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrums86 authored Aug 14, 2023
1 parent 323bb32 commit bf0a300
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/playlist-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import logger from './util/logger';
import {merge, createTimeRanges} from './util/vjs-compat';
import { addMetadata, createMetadataTrackIfNotExists, addDateRangeMetadata } from './util/text-tracks';

const ABORT_EARLY_EXCLUSION_SECONDS = 60 * 2;
const ABORT_EARLY_EXCLUSION_SECONDS = 10;

let Vhs;

Expand Down
2 changes: 1 addition & 1 deletion src/videojs-http-streaming.js
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ class VhsHandler extends Component {
this.options_.bufferBasedABR = this.options_.bufferBasedABR || false;

if (typeof this.options_.playlistExclusionDuration !== 'number') {
this.options_.playlistExclusionDuration = 5 * 60;
this.options_.playlistExclusionDuration = 60;
}

if (typeof this.options_.bandwidth !== 'number') {
Expand Down

0 comments on commit bf0a300

Please sign in to comment.