There was an error while loading. Please reload this page.
1 parent ef54081 commit dcc5992Copy full SHA for dcc5992
conf/conf.d/rtmp4.conf
@@ -25,6 +25,7 @@ rtmp{
25
deny publish all;
26
27
allow play 192.168.0.0/24;
28
+allow play 127.0.0.1;
29
deny play all;
30
live on;
31
meta copy;
html/index.html
@@ -21,7 +21,7 @@ <h1>Welcome to nginx!</h1>
21
jwplayer("myElement").setup({
22
//file: "/media/a.mp4",
23
//image: "/media/a.jpg"
24
-file:"rtmp://127.0.0.1/live/flv:test",
+file:"rtmp://127.0.0.1/live2/flv:test2",
height:480,
width:720
});
0 commit comments