chimee-flv2fmp4
flv核心解码器
Last updated 2 years ago by songguangyu .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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 (2 years ago)

35 Versions

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

Copyright 2014 - 2017 © taobao.org |