Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 450 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 450 Bytes

hlsjs-upimg-wrapper

This module wraps an instance of Hls.js to bootstrap it with the upimg decoder module.

Usage

Install

You can install the artifacts distributed as NPM modules:

npm install hlsjs-upimg-wrapper

Example

const wrapper = new HlsjsUpimgWrapper(Hls)
const hls = wrapper.createPlayer(hlsjsConfig, upimgConfig)
// Use `hls` just like your usual hls.js…