正在显示
1 个修改的文件
包含
5 行增加
和
0 行删除
| @@ -2119,6 +2119,11 @@ int SrsHttpServer::hls_update_ts(SrsRequest* r, string uri, string ts) | @@ -2119,6 +2119,11 @@ int SrsHttpServer::hls_update_ts(SrsRequest* r, string uri, string ts) | ||
| 2119 | return ret; | 2119 | return ret; |
| 2120 | } | 2120 | } |
| 2121 | } | 2121 | } |
| 2122 | + | ||
| 2123 | + // find again, ignore if not exits. | ||
| 2124 | + if (shls.find(sid) == shls.end()) { | ||
| 2125 | + return ret; | ||
| 2126 | + } | ||
| 2122 | 2127 | ||
| 2123 | SrsHlsEntry* entry = shls[sid]; | 2128 | SrsHlsEntry* entry = shls[sid]; |
| 2124 | srs_assert(entry); | 2129 | srs_assert(entry); |
-
请 注册 或 登录 后发表评论