parent
c6e7e75b57
commit
d790591bc3
File diff suppressed because it is too large
Load Diff
@ -1 +1 @@
|
||||
nginx is ok
|
||||
Nginx is ok.
|
||||
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -1 +1 @@
|
||||
nginx is ok
|
||||
Nginx is ok.
|
||||
|
Binary file not shown.
@ -1,48 +1,51 @@
|
||||
# main config for srs.
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
daemon off;
|
||||
max_connections 1000;
|
||||
srs_log_tank file;
|
||||
srs_log_file ./objs/srs.log;
|
||||
listen 1935;
|
||||
daemon off;
|
||||
max_connections 1000;
|
||||
srs_log_tank file;
|
||||
srs_log_file ./objs/srs.log;
|
||||
http_api {
|
||||
enabled on;
|
||||
listen 1985;
|
||||
enabled on;
|
||||
listen 1985;
|
||||
raw_api {
|
||||
enabled on;
|
||||
allow_reload on;
|
||||
allow_query on;
|
||||
allow_update on;
|
||||
}
|
||||
}
|
||||
http_server {
|
||||
enabled on;
|
||||
listen 8080;
|
||||
dir ./objs/nginx/html;
|
||||
enabled on;
|
||||
listen 8080;
|
||||
dir ./objs/nginx/html;
|
||||
}
|
||||
stats {
|
||||
network 0;
|
||||
disk sda sdb xvda xvdb;
|
||||
network 0;
|
||||
disk sda sdb xvda xvdb;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
http_remux {
|
||||
enabled on;
|
||||
mount [vhost]/[app]/[stream].flv;
|
||||
hstrs on;
|
||||
enabled on;
|
||||
mount [vhost]/[app]/[stream].flv;
|
||||
}
|
||||
hls {
|
||||
enabled on;
|
||||
hls_fragment 3;
|
||||
hls_window 10;
|
||||
hls_path ./objs/nginx/html;
|
||||
hls_m3u8_file [app]/[stream].m3u8;
|
||||
hls_ts_file [app]/[stream]-[seq].ts;
|
||||
enabled on;
|
||||
hls_fragment 3;
|
||||
hls_window 10;
|
||||
hls_path ./objs/nginx/html;
|
||||
hls_m3u8_file [app]/[stream].m3u8;
|
||||
hls_ts_file [app]/[stream]-[seq].ts;
|
||||
}
|
||||
dvr {
|
||||
enabled on;
|
||||
dvr_path ../IoTCenter/wwwroot/video/[app]-[stream]-[timestamp].mp4;
|
||||
dvr_plan segment;
|
||||
dvr_duration 3600;
|
||||
dvr_wait_keyframe on;
|
||||
time_jitter full;
|
||||
enabled on;
|
||||
dvr_apply none;
|
||||
dvr_path ../IoTCenter/wwwroot/video/[app]-[stream]-[timestamp].mp4;
|
||||
dvr_plan session;
|
||||
dvr_duration 300;
|
||||
dvr_wait_keyframe on;
|
||||
time_jitter full;
|
||||
}
|
||||
http_hooks {
|
||||
enabled on;
|
||||
on_dvr http://localhost/IoTCenter/App/OnDvr;
|
||||
enabled on;
|
||||
on_dvr http://localhost/IoTCenter/App/OnDvr;
|
||||
}
|
||||
}
|
||||
|
@ -1,48 +0,0 @@
|
||||
# main config for srs.
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
daemon off;
|
||||
max_connections 1000;
|
||||
srs_log_tank file;
|
||||
srs_log_file ./objs/srs.log;
|
||||
http_api {
|
||||
enabled on;
|
||||
listen 1985;
|
||||
}
|
||||
http_server {
|
||||
enabled on;
|
||||
listen 8080;
|
||||
dir ./objs/nginx/html;
|
||||
}
|
||||
stats {
|
||||
network 0;
|
||||
disk sda sdb xvda xvdb;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
http_remux {
|
||||
enabled on;
|
||||
mount [vhost]/[app]/[stream].flv;
|
||||
hstrs on;
|
||||
}
|
||||
hls {
|
||||
enabled on;
|
||||
hls_fragment 3;
|
||||
hls_window 10;
|
||||
hls_path ./objs/nginx/html;
|
||||
hls_m3u8_file [app]/[stream].m3u8;
|
||||
hls_ts_file [app]/[stream]-[seq].ts;
|
||||
}
|
||||
dvr {
|
||||
enabled off;
|
||||
dvr_path ./objs/nginx/html/[app].[stream].[timestamp].flv;
|
||||
dvr_plan segment;
|
||||
dvr_duration 600;
|
||||
dvr_wait_keyframe on;
|
||||
time_jitter full;
|
||||
}
|
||||
http_hooks {
|
||||
enabled on;
|
||||
on_dvr http://localhost/IoTCenter/Service/OnDvr;
|
||||
}
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
<cross-domain-policy>
|
||||
<allow-access-from domain="*"/>
|
||||
</cross-domain-policy>
|
Before Width: | Height: | Size: 5.3 KiB |
@ -1,3 +0,0 @@
|
||||
<video autoplay controls autobuffer type="application/vnd.apple.mpegurl"
|
||||
src="livestream.m3u8">
|
||||
</video>
|
@ -1,3 +0,0 @@
|
||||
<video autoplay controls autobuffer type="application/vnd.apple.mpegurl"
|
||||
src="livestream_ld.m3u8">
|
||||
</video>
|
@ -1,3 +0,0 @@
|
||||
<video autoplay controls autobuffer type="application/vnd.apple.mpegurl"
|
||||
src="livestream_sd.m3u8">
|
||||
</video>
|
@ -1,17 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>SRS</title>
|
||||
<meta charset="utf-8">
|
||||
<script type="text/javascript" src="players/js/jquery-1.10.2.min.js"></script>
|
||||
<script type="text/javascript" src="players/js/srs.page.js"></script>
|
||||
<script type="text/javascript" src="players/js/srs.utility.js"></script>
|
||||
<script type="text/javascript" src="players/js/winlin.utility.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
setTimeout(function(){
|
||||
window.location.href = "players/index.html" + window.location.search;
|
||||
}, 500);
|
||||
</script>
|
||||
</body>
|
@ -1,3 +0,0 @@
|
||||
<video autoplay controls autobuffer type="application/vnd.apple.mpegurl"
|
||||
src="demo.m3u8">
|
||||
</video>
|
@ -1,3 +0,0 @@
|
||||
<video autoplay controls autobuffer type="application/vnd.apple.mpegurl"
|
||||
src="livestream.m3u8">
|
||||
</video>
|
@ -1,3 +0,0 @@
|
||||
<video autoplay controls autobuffer type="application/vnd.apple.mpegurl"
|
||||
src="livestream_ld.m3u8">
|
||||
</video>
|
@ -1,3 +0,0 @@
|
||||
<video autoplay controls autobuffer type="application/vnd.apple.mpegurl"
|
||||
src="livestream_sd.m3u8">
|
||||
</video>
|
@ -1 +0,0 @@
|
||||
nginx is ok
|
Binary file not shown.
Loading…
Reference in new issue