Skip to content

Commit c5c7a06

Browse files
committed
[misc] add build status, update README files and fix a compilation error.
1 parent c4acbbd commit c5c7a06

File tree

4 files changed

+17
-1
lines changed

4 files changed

+17
-1
lines changed

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
language: c
2+
3+
install:
4+
- cd ..
5+
- wget http://nginx.org/download/nginx-1.12.2.tar.gz
6+
- tar zxvf nginx-1.12.2.tar.gz
7+
- cd nginx-1.12.2
8+
9+
script:
10+
- ./configure --add-module=../nginx-http-flv-module && make
11+
- ./configure --add-dynamic-module=../nginx-http-flv-module && make

README.CN.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# nginx-http-flv-module
22

3+
[![Build Status](https://travis-ci.org/winshining/nginx-http-flv-module.svg?branch=master)](https://travis-ci.org/winshining/nginx-http-flv-module)
4+
35
基于[nginx-rtmp-module](https://github.com/arut/nginx-rtmp-module)的流媒体服务器。
46

57
# 功能

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# nginx-http-flv-module
22

3+
[![Build Status](https://travis-ci.org/winshining/nginx-http-flv-module.svg?branch=master)](https://travis-ci.org/winshining/nginx-http-flv-module)
4+
35
Media streaming server based on [nginx-rtmp-module](https://github.com/arut/nginx-rtmp-module).
46

57
# Features

ngx_rtmp_live_module.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1187,10 +1187,11 @@ ngx_rtmp_live_data(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h,
11871187
ngx_uint_t peers;
11881188
uint32_t delta;
11891189
ngx_rtmp_live_chunk_stream_t *cs;
1190-
1190+
#ifdef NGX_DEBUG
11911191
u_char *msg_type;
11921192

11931193
msg_type = (u_char *)out_elts[0].data;
1194+
#endif
11941195

11951196
lacf = ngx_rtmp_get_module_app_conf(s, ngx_rtmp_live_module);
11961197
if (lacf == NULL) {

0 commit comments

Comments
 (0)