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: 0

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