mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 10:40:05 +08:00
Fix _media_src setIndexFile by mistake for include_delay.
This commit is contained in:
parent
8048cd886b
commit
27217cb1e6
@ -162,7 +162,7 @@ void HlsMakerImp::onWriteHls(const std::string &data, bool include_delay) {
|
||||
if (hls) {
|
||||
fwrite(data.data(), data.size(), 1, hls.get());
|
||||
hls.reset();
|
||||
if (_media_src) {
|
||||
if (_media_src && !include_delay) {
|
||||
_media_src->setIndexFile(data);
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user