Skip to content

Commit fd54989

Browse files
committed
[dev] replaced Travis CI with GitHub Actions CI and updated README files.
1 parent 8143cce commit fd54989

File tree

4 files changed

+71
-43
lines changed

4 files changed

+71
-43
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: nginx-http-flv-module CI
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
env:
15+
NGINX_VERSION: nginx-1.22.1
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
- name: download nginx
20+
working-directory: ../
21+
run: wget https://nginx.org/download/${{env.NGINX_VERSION}}.tar.gz
22+
- name: uncompress nginx
23+
working-directory: ../
24+
run: tar zxvf ${{env.NGINX_VERSION}}.tar.gz
25+
- name: configure (build into nginx)
26+
working-directory: ../${{env.NGINX_VERSION}}
27+
run: ./configure --add-module=../nginx-http-flv-module
28+
- name: make
29+
working-directory: ../${{env.NGINX_VERSION}}
30+
run: make
31+
- name: clean
32+
working-directory: ../${{env.NGINX_VERSION}}
33+
run: make clean
34+
- name: configure (build as a dynamic module)
35+
working-directory: ../${{env.NGINX_VERSION}}
36+
run: ./configure --add-dynamic-module=../nginx-http-flv-module
37+
- name: make
38+
working-directory: ../${{env.NGINX_VERSION}}
39+
run: make
40+
- name: remove
41+
working-directory: ../
42+
run: rm -rf "${{env.NGINX_VERSION}}*"

.travis.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

README.CN.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# nginx-http-flv-module
22

3-
[![Build Status](https://app.travis-ci.com/winshining/nginx-http-flv-module.svg?branch=master)](https://app.travis-ci.com/winshining/nginx-http-flv-module)
3+
![nginx-http-flv-module workflow](https://github.com/winshining/nginx-http-flv-module/actions/workflows/nginx-http-flv-module.yml/badge.svg?branch=master)
44

55
一款基于 [nginx-rtmp-module](https://github.com/arut/nginx-rtmp-module) 的流媒体服务器。
66

@@ -24,18 +24,19 @@
2424

2525
* nginx-http-flv-module 的其他功能与 [nginx-rtmp-module](https://github.com/arut/nginx-rtmp-module) 的对比:
2626

27-
| 功能 | nginx-http-flv-module | nginx-rtmp-module | 备注 |
28-
| :----------------------: | :-------------------: | :---------------: | :-------------------------------------: |
29-
| HTTP-FLV (播放) || x | 支持 HTTPS-FLV 和 chunked 回复 |
30-
| GOP 缓存 || x | |
31-
| 虚拟主机 || x | |
32-
| 省略 `listen` 配置项 || 见备注 | 配置中必须有一个 `listen` |
33-
| RTMP/HTTP-FLV 纯音频支持 || 见备注 |`wait_video``wait_key` 开启后无法工作|
34-
| HLS 单轨支持 || x | |
35-
| `reuseport` 支持 || x | |
36-
| 定时打印访问记录 || x | |
37-
| JSON 风格的数据信息 || x | |
38-
| 录制的数据信息 || x | |
27+
| 功能 | nginx-http-flv-module | nginx-rtmp-module | 备注 |
28+
| :----------------------: | :-------------------: | :---------------: | :--------------------------------------: |
29+
| HTTP-FLV (播放) || x | 支持 HTTPS-FLV 和 chunked 回复 |
30+
| GOP 缓存 || x | |
31+
| 虚拟主机 || x | |
32+
| 省略 `listen` 配置项 || 见备注 | 配置中必须有一个 `listen` |
33+
| RTMP/HTTP-FLV 纯音频支持 || 见备注 |`wait_video``wait_key` 开启后无法工作 |
34+
| HLS 单轨支持 || x | |
35+
| `reuseport` 支持 || x | |
36+
| 定时打印访问记录 || x | |
37+
| JSON 风格的数据信息 || x | |
38+
| 录制的数据信息 || x | |
39+
| 大小端无关 || 见备注 | `endian` 分支部分支持 |
3940

4041
## 兼容性
4142

README.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# nginx-http-flv-module
22

3-
[![Build Status](https://app.travis-ci.com/winshining/nginx-http-flv-module.svg?branch=master)](https://app.travis-ci.com/winshining/nginx-http-flv-module)
3+
![nginx-http-flv-module workflow](https://github.com/winshining/nginx-http-flv-module/actions/workflows/nginx-http-flv-module.yml/badge.svg?branch=master)
44

55
A media streaming server based on [nginx-rtmp-module](https://github.com/arut/nginx-rtmp-module).
66

77
[中文说明](https://github.com/winshining/nginx-http-flv-module/blob/master/README.CN.md).
88

99
Donate if you like this module. Many thanks to you!
1010

11-
<a href="https://www.buymeacoffee.com/winshining" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/white_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>
11+
<a href="https://www.paypal.me/ShingWong" target="_blank"><img src="https://www.paypalobjects.com/digitalassets/c/website/marketing/apac/C2/logos-buttons/optimize/44_Grey_PayPal_Pill_Button.png" alt="PayPal" /></a>
1212

1313
### Credits
1414

@@ -24,18 +24,19 @@ Donate if you like this module. Many thanks to you!
2424

2525
* Other features provided by nginx-http-flv-module vs [nginx-rtmp-module](https://github.com/arut/nginx-rtmp-module):
2626

27-
| Features | nginx-http-flv-module | nginx-rtmp-module | Remarks |
28-
| :--------------------------------: | :-------------------: | :---------------: | :-------------------------------------------: |
29-
| HTTP-FLV (for play) || x | HTTPS-FLV and chunked response supported |
30-
| GOP cache || x | |
31-
| Virtual Host || x | |
32-
| Omit `listen` directive || See remarks | There MUST be at least one `listen` directive |
33-
|Audio-only support for RTMP/HTTP-FLV|| See remarks |Won't work if `wait_video` or `wait_key` is on |
34-
| Single-track support for HLS || x | |
35-
| `reuseport` support || x | |
36-
| Timer for access log || x | |
37-
| JSON style statistics || x | |
38-
| Statistics for recordings || x | |
27+
| Features | nginx-http-flv-module | nginx-rtmp-module | Remarks |
28+
| :--------------------------------: | :-------------------: | :---------------: | :--------------------------------------------: |
29+
| HTTP-FLV (for play) || x | HTTPS-FLV and chunked response supported |
30+
| GOP cache || x | |
31+
| Virtual Host || x | |
32+
| Omit `listen` directive || See remarks | There MUST be at least one `listen` directive |
33+
|Audio-only support for RTMP/HTTP-FLV|| See remarks | Won't work if `wait_video` or `wait_key` is on |
34+
| Single-track support for HLS || x | |
35+
| `reuseport` support || x | |
36+
| Timer for access log || x | |
37+
| JSON style statistics || x | |
38+
| Statistics for recordings || x | |
39+
| Independent of endianness || See remarks | Partially supported in branch `endian` |
3940

4041
## Compatibility
4142

0 commit comments

Comments
 (0)