Skip to content

Based on the NGINX/RTMP/HTTP-FLV/HTTP-TS/HLS/HLS+/DASH/H.264/H.265/AAC/MP3/Live/Record/VOD/Push/Pull/Multiple Processes/Dynamic Configuration/Configuration Variables/Console Interface/Notify

License

Notifications You must be signed in to change notification settings

pingostack/pingos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Nov 21, 2022
8ba2ea1 · Nov 21, 2022

History

82 Commits
Apr 15, 2021
Apr 6, 2020
Apr 14, 2022
Nov 21, 2022
Dec 15, 2021
May 12, 2021
Apr 2, 2020
Apr 4, 2020
Apr 21, 2020
Jul 9, 2020
Apr 15, 2021
Jan 10, 2022
Dec 2, 2021
Apr 15, 2021
Apr 15, 2021
Apr 15, 2021
Apr 15, 2021
Apr 15, 2021
Apr 15, 2021

Repository files navigation

PingOS

logo

website Build Status License

PingOS依赖NGINX构建,并且继承arutAlexWoo的nginx-rtmp-module模块。修复arut和AlexWoo版本存在的部分问题外,PingOS在编码和直播协议以及其他方面做了多项功能扩展。


服务器功能

  • 直播协议: RTMP、HTTP(S)-FLV、HTTP(S)-TS、HLS(支持HTTPS)、HLS+(支持HTTPS)、DASH(支持HTTPS)。
  • 音视频编码: H264、H265、MP3、AAC。
  • 直播录像: FLV文件格式和TS文件格式。
  • GOP缓存: 实现秒开和内存复用。
  • application支持通配符: “ * ”号通配符实现自动匹配推拉流时使用的application名字,无需累赘的配置。
  • VHOST功能: 支持配置多个server域名。
  • 控制台接口: 通过HTTP API接口控制推流、拉流以及录像过程。
  • 配置动态加载: 修改配置文件后无需对nginx做任何操作就可读取最新配置。
  • 流量计费: 通过配置自定义流量日志。
  • 变量参数配置: 配置文件中使用变量。
  • 进程间回源: 进程间相互拉流,解决了原生nginx-rtmp-module模块多进程拉流失败的问题。
  • 集群化功能: 服务器间推拉流功能(http-flv、rtmp协议)。
  • html5网页播放器: pingos-player播放器将持续兼容各浏览器平台,以及多种直播协议。

引导

快速安装

  • 使用Docker镜像

  • 直接安装到系统

    # 快速安装
    git clone https://github.com/pingostack/pingos.git
    
    cd pingos
    
    ./release.sh -i
    
    # 启动服务
    cd /usr/local/pingos/
    ./sbin/nginx

操作说明

推流

推流地址:rtmp://ip/live/流名

播放地址

  • rtmp 播放:rtmp://ip/live/流名

  • http(s)-flv 播放:http(s)://ip/flv/流名

  • hls 播放:http(s)://ip/hls/流名.m3u8

  • hls+ 播放:http(s)://ip/hls2/流名.m3u8

  • http(s)-ts 播放:http(s)://ip/ts/流名

直播流监控后台

访问地址:http://ip/rtmp_stat 通过该页面可以查看当前正在发生的推流和播放记录。

html5播放器

访问地址: http://ip/h5player/flv 这个播放器是基于flv.js的网页播放器,可以实现无插件播放http-flv直播流。 一旦你能够访问这个页面,说明你的直播服务器已经成功搭建起来了。

h5player

About

Based on the NGINX/RTMP/HTTP-FLV/HTTP-TS/HLS/HLS+/DASH/H.264/H.265/AAC/MP3/Live/Record/VOD/Push/Pull/Multiple Processes/Dynamic Configuration/Configuration Variables/Console Interface/Notify

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages