Latest Socket ResearchMalicious Chrome Extension Performs Hidden Affiliate Hijacking.Details
Socket
Book a DemoInstallSign in
Socket

m7s.live/plugin/ts/v4

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

m7s.live/plugin/ts/v4

Go Modules
Version
v4.0.0-20220227134506-bb45532e1856
Version published
Created
Source

TS插件

处理TS数据的插件

功能

  • 通过Publish发布一个TS流,然后通过Feed方法填入TS数据即可
  • 通过PublishDir可以读取服务器上文件夹内的所有ts文件进行发布

默认配置

[TS]
BufferLength = 2048
Path         = "ts"
  • BufferLength指的是解析TS流的时候的缓存大小,单位是PES包的个数
  • Path 指存放ts的目录

API

  • /api/ts/list 罗列所有ts文件
  • /api/ts/publish?streamPath=live/rtc 开始将文件夹内的ts文件逐个读取,发布成一个直播流

FAQs

Package last updated on 27 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts