chimee-flv2fmp4
flv核心解码器
Last updated 7 years ago by gaoyiyi .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ npm install chimee-flv2fmp4 
SYNC missed versions from official npm registry.

icon

npm install chimee-flv2fmp4 -S

var cpu= require("chimee-flv2fmp4")

new cpu();

Doc

function

  • setflv(arraybuffer) 参数,arraybuffer数组,返回值是该数值用到的位置
  • onInitSegment(fun) 参数,回调function, mp4初始化数据调用该方法,类型为uint8array
  • onMediaSegment(fun) 参数,回调function,mp4后续数据包会回调方法,类型为uint8array
  • onMediaInfo(fun) 参数,回调function,MP4获取metadata后会回调该方法,类型为object
  • seekCallBack(fun) 参数,回调function,跳转触发后,可进行跳转时回调
  • seek(time) 参数,时间,单位是秒,进行跳转
  • on(type,function) 参数,事件名,回调function,事件监听

event

  • error 核心出现问题时会向外派发这个事件

Current Tags

  • 0.3.5                                ...           latest (7 years ago)

35 Versions

  • 0.3.5                                ...           7 years ago
  • 0.3.4                                ...           7 years ago
  • 0.3.3                                ...           7 years ago
  • 0.3.2                                ...           7 years ago
  • 0.3.1                                ...           7 years ago
  • 0.3.0                                ...           7 years ago
  • 0.2.9                                ...           7 years ago
  • 0.2.8                                ...           7 years ago
  • 0.2.7                                ...           7 years ago
  • 0.2.6                                ...           7 years ago
  • 0.2.5                                ...           7 years ago
  • 0.2.4                                ...           7 years ago
  • 0.2.3                                ...           7 years ago
  • 0.2.1                                ...           7 years ago
  • 0.2.0                                ...           7 years ago
  • 0.1.19                                ...           7 years ago
  • 0.1.18                                ...           7 years ago
  • 0.1.17                                ...           7 years ago
  • 0.1.16                                ...           7 years ago
  • 0.1.15                                ...           7 years ago
  • 0.1.14                                ...           7 years ago
  • 0.1.13                                ...           7 years ago
  • 0.1.12                                ...           7 years ago
  • 0.1.11                                ...           7 years ago
  • 0.1.10                                ...           7 years ago
  • 0.1.9                                ...           7 years ago
  • 0.1.8                                ...           7 years ago
  • 0.1.7                                ...           7 years ago
  • 0.1.6                                ...           7 years ago
  • 0.1.5                                ...           7 years ago
  • 0.1.4                                ...           7 years ago
  • 0.1.3                                ...           7 years ago
  • 0.1.2                                ...           7 years ago
  • 0.1.1                                ...           7 years ago
  • 0.1.0                                ...           7 years ago
Maintainers (1)
Downloads
Total 1
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE