Media Source Extension support for Flussonic.
npm install flu-mse-playerflussonic-mse-player is a JavaScript library for playing video relies on flussonic backend, HTML5 video and MediaSource Extensions
```
npm install --save flussonic-mse-player
```
const player = new FlussonicMsePlayer(element, url, opts)
element -
play() - start playing
pause() -
stop() - stop playing
seek(utc: number) - seek
setTracks(tracks: Array
MediaInfo {
height: number,
width: number,
streams: Array
}
StreamInfo {
bitrate
: number,
codec
:
string,
content
:
string,
fps
:
number,
height
:
number,
length_size
:
number,
level
:
string,
pixel_height
:
number,
pixel_width
:
number,
profile
:
"Baseline"
sar_height
:
number,
sar_width
:
number,
size
:
string,
track_id
:
string,
width
:
number
}
Track: string