mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
fix the hls bug
This commit is contained in:
parent
4400b12515
commit
e4c27a51b8
1 changed files with 5 additions and 0 deletions
|
@ -2120,6 +2120,11 @@ int SrsHttpServer::hls_update_ts(SrsRequest* r, string uri, string ts)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// find again, ignore if not exits.
|
||||||
|
if (shls.find(sid) == shls.end()) {
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
SrsHlsEntry* entry = shls[sid];
|
SrsHlsEntry* entry = shls[sid];
|
||||||
srs_assert(entry);
|
srs_assert(entry);
|
||||||
srs_assert(entry->tmpl);
|
srs_assert(entry->tmpl);
|
||||||
|
|
Loading…
Reference in a new issue