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 0.0.5 to 0.0.6

webpack.dev.js

5

package.json
{
"name": "tcadapter",
"version": "0.0.5",
"version": "0.0.6",
"description": "",

@@ -12,3 +12,3 @@ "main": "./dist/index.js",

"build": "npx webpack --config webpack.config.js",
"start": "npx webpack --watch --config webpack.config.js",
"start": "npx webpack --watch --config webpack.dev.js",
"test": "echo \"Error: no test specified\" && exit 1"

@@ -26,2 +26,3 @@ },

"webpack": "^5.24.2",
"webpack-bundle-analyzer": "^4.4.0",
"webpack-cli": "^4.5.0"

@@ -28,0 +29,0 @@ },

14

README.md

@@ -197,3 +197,2 @@ # TcAdapter 使用文档说明

| loadedmetadata | 通过 playcgi 获取到了相应的视频信息,在此事件回调中可以获取视频相关信息 |
| hlsloaded | 加载 hls.js 完成 |
| hlsready | hls实例创建完成,可以在此时机调用 hls 实例对象上的各种属性和方法 |

@@ -232,6 +231,11 @@

const adapter = new TcAdapter(videoRef.current, {
// demo encrypted
appID: '1251132654',
fileID: '5285890807652385924',
psign: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBJZCI6MTI1MTEzMjY1NCwiZmlsZUlkIjoiNTI4NTg5MDgwNzY1MjM4NTkyNCIsImN1cnJlbnRUaW1lU3RhbXAiOjE2MTU4ODIyNDEsImV4cGlyZVRpbWVTdGFtcCI6MTg5OTk2NTQzMCwicGNmZyI6IjEyMTIxMiIsInVybEFjY2Vzc0luZm8iOnsidCI6IjE4OTk5NjU0MzAifX0.-8Utm0r9hx-gog2Z4obD1q7kSTMjiwMAw1sgKKtyOIM',
// encrypted
appID: '1500002611',
fileID: '5285890813738446783',
psign: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBJZCI6MTUwMDAwMjYxMSwiZmlsZUlkIjoiNTI4NTg5MDgxMzczODQ0Njc4MyIsImN1cnJlbnRUaW1lU3RhbXAiOjE2MTU5NTEyMzksImV4cGlyZVRpbWVTdGFtcCI6MjIxNTY1MzYyMywicGNmZyI6ImJhc2ljRHJtUHJlc2V0IiwidXJsQWNjZXNzSW5mbyI6eyJ0IjoiMjIxNTY1MzYyMyJ9fQ.hRrQYvC0UYtcO-ozB35k7LZI6E3ruvow7DC0XzzdYKE',
// unencrypted
// fileID: "5285890815601918477",
// appID: "1500002611",
// psign: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBJZCI6MTUwMDAwMjYxMSwiZmlsZUlkIjoiNTI4NTg5MDgxNTYwMTkxODQ3NyIsImN1cnJlbnRUaW1lU3RhbXAiOjE2MTU5NTE3MDYsImV4cGlyZVRpbWVTdGFtcCI6MjIxNTY1Mzk3OCwicGNmZyI6ImRlZmF1bHQiLCJ1cmxBY2Nlc3NJbmZvIjp7InQiOiIyMjE1NjUzOTc4In19.6u05eXa6bJ4GLCIdlZfeMw_LUDf1AYP8FXRhoxLQBTY",
hlsConfig: {},

@@ -238,0 +242,0 @@ }, () => {

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