cos-hls-player-proxy

0.1.2 • Public • Published

COS HLS 解密代理服务示例

调用示例

  1. 安装依赖
npm i
  1. 参照 demo-pc.js 调用并获取 url,用于播放前请求播放地址。
var playerProxy = require('cos-hls-player-proxy');
playerProxy.start(function (err, data) {
    if (err) return console.error('playerProxy start error', err);
    console.log('play proxy ready!', data.url);
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.2
    1
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i cos-hls-player-proxy

Weekly Downloads

1

Version

0.1.2

License

ISC

Unpacked Size

19.8 kB

Total Files

3

Last publish

Collaborators

  • carsonxu