fix the hls bug
This commit is contained in:
parent
4400b12515
commit
e4c27a51b8
|
|
@ -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 New Issue
Block a user