Giter Club home page Giter Club logo

plugin-gateway's Introduction

网关插件

该插件提供一下功能:

  1. 提供HTTP协议的API接口
  2. 提供一个简易的静态资源网站(通过配置StaticPath)

插件名称

GateWay

配置

[GateWay]
ListenAddr = ":8081"
CertFile   =   "file.cert"
KeyFile      =  "file.key"
ListenAddrTLS = ":8082"
StaticPath   =  "/opt/website"

使用方法

插件随实例启动而启动,打开浏览器访问配置好的端口即可,例如http://localhost:8081,根据实际情况访问

API

  • /api/sysInfo 获取系统信息,包含引擎版本和实例启动时间
  • /api/config 获取配置文件
  • /api/plugins 获取所有插件信息
  • /api/listenInfo 收听流的缓冲信息
  • /api/snapshot 获取缓冲快照数据
  • /api/tagRaw 获取音视频Tag的原始二进制数据
  • /api/modifyConfig 修改插件配置

plugin-gateway's People

Contributors

dependabot[bot] avatar dwdcth avatar langhuihui avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.