mirror of
https://github.com/SrIzan10/hctv.git
synced 2026-06-06 00:56:56 +00:00
fix: redirects not working correctly on programs like ffmpeg
This commit is contained in:
@@ -10,7 +10,10 @@ rtmp {
|
||||
live on;
|
||||
record off;
|
||||
|
||||
push rtmp://localhost:1935/channel-live;
|
||||
on_publish http://localhost:3000/api/rtmp/publish;
|
||||
|
||||
deny play all;
|
||||
}
|
||||
|
||||
application channel-live {
|
||||
@@ -19,6 +22,8 @@ rtmp {
|
||||
|
||||
allow publish 127.0.0.1;
|
||||
deny publish all;
|
||||
|
||||
deny play all;
|
||||
|
||||
hls on;
|
||||
hls_type live;
|
||||
|
||||
Reference in New Issue
Block a user