Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tcadapter

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tcadapter - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

dist/tcadapter.1.1.1.min.js

2

package.json
{
"name": "tcadapter",
"version": "1.1.0",
"version": "1.1.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

@@ -188,2 +188,12 @@ # TcAdapter 使用文档说明

adapter.on(TcAdapter.TcAdapterEvents.Error, function(error) {
// 本例中,错误事件的回调参数格式如下
// {
// type: TcAdapter.TcAdapterEvents.Error,
// data: {
// type : error specific type,
// details : error details,
// fatal : is error fatal or not,
// ...other error specific data
// }
// }
// do something

@@ -193,3 +203,3 @@ });

其中 type 为事件类型,支持的事件包括hls原生的事件以及以下事件,可从 TcAdapter.TcAdapterEvents 中访问到事件名称:
其中 type 为事件类型,支持的事件包括 hls 原生的事件以及以下事件,可从 TcAdapter.TcAdapterEvents 中访问到事件名称:

@@ -202,2 +212,4 @@ | 名称 | 介绍 |

> Hls 事件参考链接:https://github.com/video-dev/hls.js/blob/master/docs/API.md#runtime-events
> 错误处理参考链接:https://github.com/video-dev/hls.js/blob/master/docs/API.md#fifth-step-error-handling

@@ -204,0 +216,0 @@ #### 获取 Hls 实例

@@ -62,3 +62,3 @@ const path = require('path');

from: "dist/index.js",
to: path.resolve(__dirname, 'dist/tcadapter.1.0.0.js'),
to: path.resolve(__dirname, 'dist/tcadapter.1.1.1.js'),
},

@@ -65,0 +65,0 @@ ],

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc