@100mslive/hls-player
v0.3.24
Published
HLS client library which uses HTML5 Video element and Media Source Extension for playback
Downloads
10,982
Maintainers
Keywords
Readme
@100mslive/hls-player
is currently a wrapper on hls.js with easy to use interface and few add-ons for 100ms's interactive live streaming feature.
Sample usage:
import {
HLSPlaybackState,
} from "@100mslive/hls-player";
// hlsUrl is the url in which the hls stream is ongoing
// videoElement is the video element where you want to play the stream
const player = new HMSHLSPlayer(hlsUrl, videoElement);
player.play()
More details to be added soon.