Skip to content

Commit

Permalink
refactor: remove aes-decrypter objects from Hls saving 1415gz bytes (#…
Browse files Browse the repository at this point in the history
…860)

BREAKING CHANGE: The Hls object which was exposed on videojs no longer has Decrypter, AsyncStream, and decrypt from aes-decrypter.
  • Loading branch information
brandonocasey authored Jun 12, 2020
1 parent 225d127 commit a4f8302
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/videojs-http-streaming.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import window from 'global/window';
import PlaylistLoader from './playlist-loader';
import Playlist from './playlist';
import xhrFactory from './xhr';
import { Decrypter, AsyncStream, decrypt } from 'aes-decrypter';
import { simpleTypeFromSourceType } from '@videojs/vhs-utils/dist/media-types.js';
import * as utils from './bin-utils';
import {
Expand Down Expand Up @@ -41,9 +40,6 @@ import {isAudioCodec, isVideoCodec, browserSupportsCodec} from '@videojs/vhs-uti
const Hls = {
PlaylistLoader,
Playlist,
Decrypter,
AsyncStream,
decrypt,
utils,

STANDARD_PLAYLIST_SELECTOR: lastBandwidthSelector,
Expand Down

0 comments on commit a4f8302

Please sign in to comment.