mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +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) {
|
if (hls) {
|
||||||
fwrite(data.data(), data.size(), 1, hls.get());
|
fwrite(data.data(), data.size(), 1, hls.get());
|
||||||
hls.reset();
|
hls.reset();
|
||||||
if (_media_src) {
|
if (_media_src && !include_delay) {
|
||||||
_media_src->setIndexFile(data);
|
_media_src->setIndexFile(data);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user