GithubHelp home page GithubHelp logo

shortvideoservice's Introduction

抖音快手弹幕服务端

服务框架 Hyperf

  • PHP >= 7.3
  • Swoole PHP extension >= 4.5,and Disabled Short Name
  • OpenSSL PHP extension
  • JSON PHP extension
  • PDO PHP extension
  • Redis PHP extension
  • Protobuf PHP extension

运行

// 更新composer依赖

composer update -o

// 启动项目

composer start

连接测试

img.png

websocket路由地址

  • ws://ip:9502/ks (快手)
  • ws://ip:9502/dy (抖音)

心跳维持要求

  • 连接完服务端后请每隔4分钟向服务端发送内容为ping的数据,否则5分钟不发送数据服务端会自动断开

项目定制

  • 语言方向🧭:易语言、php、python、Go、Java
  • 合作or收徒联系📮:[email protected]

shortvideoservice's People

Forkers

taodamiao chnak

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.