New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@isfe/mse-player

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@isfe/mse-player

> A player use MediaSource, by @hxli8 @bqliu.

latest
Source
npmnpm
Version
0.4.2
Version published
Maintainers
2
Created
Source

MSEPlayer

A player use MediaSource, by @hxli8 @bqliu.

Solves

  • pcm to wav
  • use MediaSource to play multiple pcm/wav/mp3 files(concat) etc

Notice

Some utilities like strToBlob and wavToMp3 are exported for convenience. But notice that if you want to use wavToMp3, you need to import lamejs in global environment. And use your bundler, e.g. rollup, you need to use rollup-plugin-external-globals and use it in your configuration.

// simple rollup config
const config = {
  plugins: [nodeResolve(), commonjs(), rollupTypescript(), externalGlobals({ lamejs: 'lamejs' })]
}

For webpack, you may use externals. For umd, do it as you like.

Refs

Keywords

mse

FAQs

Package last updated on 13 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts