mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-11 06:41:08 +02:00
removed hls module & added hls code to rtmp module
This commit is contained in:
parent
b40024492e
commit
ac5df69487
4
config
4
config
|
@ -19,6 +19,7 @@ CORE_MODULES="$CORE_MODULES
|
|||
ngx_rtmp_notify_module \
|
||||
ngx_rtmp_log_module \
|
||||
ngx_rtmp_limit_module \
|
||||
ngx_rtmp_hls_module \
|
||||
"
|
||||
|
||||
|
||||
|
@ -41,6 +42,7 @@ NGX_ADDON_DEPS="$NGX_ADDON_DEPS \
|
|||
$ngx_addon_dir/ngx_rtmp_record_module.h \
|
||||
$ngx_addon_dir/ngx_rtmp_relay_module.h \
|
||||
$ngx_addon_dir/ngx_rtmp_streams.h \
|
||||
$ngx_addon_dir/hls/ngx_rtmp_mpegts.h \
|
||||
"
|
||||
|
||||
|
||||
|
@ -74,6 +76,8 @@ NGX_ADDON_SRCS="$NGX_ADDON_SRCS \
|
|||
$ngx_addon_dir/ngx_rtmp_notify_module.c \
|
||||
$ngx_addon_dir/ngx_rtmp_log_module.c \
|
||||
$ngx_addon_dir/ngx_rtmp_limit_module.c \
|
||||
$ngx_addon_dir/hls/ngx_rtmp_hls_module.c \
|
||||
$ngx_addon_dir/hls/ngx_rtmp_mpegts.c \
|
||||
"
|
||||
CFLAGS="$CFLAGS -I$ngx_addon_dir"
|
||||
|
||||
|
|
|
@ -1,9 +1 @@
|
|||
# HLS (HTTP Live Streaming) module
|
||||
|
||||
This module should be added explicitly when building NGINX:
|
||||
|
||||
./configure ... --add-module=/path/to/nginx-rtmp-module/hls ...
|
||||
|
||||
## Requirement
|
||||
|
||||
The module requires ffmpeg version>= 53.31.100 from ffmpeg (ffmpeg.org)
|
||||
HLS is now a part of rtmp module
|
||||
|
|
11
hls/config
11
hls/config
|
@ -1,11 +0,0 @@
|
|||
ngx_addon_name="ngx_rtmp_hls_module"
|
||||
|
||||
CORE_MODULES="$CORE_MODULES
|
||||
ngx_rtmp_hls_module \
|
||||
"
|
||||
|
||||
|
||||
NGX_ADDON_SRCS="$NGX_ADDON_SRCS \
|
||||
$ngx_addon_dir/ngx_rtmp_hls_module.c \
|
||||
$ngx_addon_dir/ngx_rtmp_mpegts.c \
|
||||
"
|
Loading…
Reference in a new issue