Skip to content

caize/websocket_live

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

websocket_live

一个基于Swoole和Websocket的直播间Demo

本项目需要Pecl环境支持

开始

  1. pecl install swoole
  2. git clone https://github.com/komeiji-satori/websocket_live.git
  3. cd websocket_live
  4. php live_backend.php
  5. 直播流推送地址: http://127.0.0.1/websocket_live/live_push.html
  6. 直播流播放地址: http://127.0.0.1/websocket_live/live_receive.html

效果

使用摄像头

深度截图_选择区域_20170805170734.png

使用视频文件

57415Si.png

About

一个基于Swoole和Websocket的直播间Demo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published