Giter VIP home page Giter VIP logo

plugin-jessica's Introduction

JESSICA 插件

通过Websocket传输音视频数据,使用Jessibuca播放器进行播放。

插件地址

https://github.com/Monibuca/plugin-jessica

插件引入

import (
    _ "m7s.live/plugin/jessica/v4"
)

配置

可配置WS协议和WSS协议监听地址端口

jessica:
  http:
      listenaddr: :8080
      listenaddrtls: :8081
      certfile: monibuca.com.pem
      keyfile: monibuca.com.key
      cors: true
      username: ""
      password: ""
  subscribe:
      subaudio: true
      subvideo: true
      iframeonly: false
      waittimeout: 10

协议说明

该插件提供两种格式的协议供播放器播放。

WS-RAW

  • 地址格式:ws://[HOST]/jessica/[streamPath]

  • 该协议传输的是私有格式,第一个字节代表音视频,1为音频,2为视频,后面跟4个字节的时间戳,然后接上字节流(RTMP的VideoTag或AudioTag)

WS-FLV

  • 地址格式:ws://[HOST]/jessica/[streamPath].flv
  • 该协议传输的flv格式的文件流

plugin-jessica's People

Contributors

langhuihui avatar dependabot[bot] 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.