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);
});

Readme

Keywords

none

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