mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 11:41:44 +08:00
修复HLS按需生成相关bug
This commit is contained in:
@@ -89,7 +89,7 @@ void HlsMakerImp::onWriteHls(const char *data, int len) {
|
||||
fwrite(data, len, 1, hls.get());
|
||||
hls.reset();
|
||||
if (_media_src) {
|
||||
_media_src->registHls();
|
||||
_media_src->registHls(true);
|
||||
}
|
||||
} else {
|
||||
WarnL << "create hls file failed," << _path_hls << " " << get_uv_errmsg();
|
||||
|
||||
Reference in New Issue
Block a user