mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #264, support disconnect publish connect when hls error. 1.0.11
This commit is contained in:
parent
d4fb58b175
commit
1dfac0bf1d
6 changed files with 71 additions and 20 deletions
6
trunk/conf/full.conf
Normal file → Executable file
6
trunk/conf/full.conf
Normal file → Executable file
|
@ -295,6 +295,12 @@ vhost with-hls.srs.com {
|
|||
# the hls window in seconds, the number of ts in m3u8.
|
||||
# default: 60
|
||||
hls_window 60;
|
||||
# the error strategy. canbe:
|
||||
# ignore, when error ignore and disable hls.
|
||||
# disconnect, when error disconnect the publish connection.
|
||||
# @see https://github.com/winlinvip/simple-rtmp-server/issues/264
|
||||
# default: ignore
|
||||
hls_on_error ignore;
|
||||
}
|
||||
}
|
||||
# the vhost with hls disabled.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue