snap

package module
v3.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2022 License: MIT Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

plugin-snap

I帧截图插件

安装

  1. 修改 Monibuca 项目中的 main.go ,在 import 里添加 _ "github.com/Monibuca/plugin-snap/v3"
  2. 修改 config.toml 添加 [Snap]
  3. 运行 go mod tidy

接口

/api/snap?stream=视频流&timeout=超时毫秒

视频流即流列表中的StreamPath,timeout默认超时2500毫秒,可以不传

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SnapProcess

type SnapProcess = func(*Stream) ([]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL