正在显示
1 个修改的文件
包含
0 行增加
和
4 行删除
| @@ -800,10 +800,6 @@ int SrsHttpStreamServer::http_mount(SrsSource* s, SrsRequest* r) | @@ -800,10 +800,6 @@ int SrsHttpStreamServer::http_mount(SrsSource* s, SrsRequest* r) | ||
| 800 | 800 | ||
| 801 | // remove the default vhost mount | 801 | // remove the default vhost mount |
| 802 | mount = srs_string_replace(mount, SRS_CONSTS_RTMP_DEFAULT_VHOST"/", "/"); | 802 | mount = srs_string_replace(mount, SRS_CONSTS_RTMP_DEFAULT_VHOST"/", "/"); |
| 803 | - // TODO: FIXME: check match | ||
| 804 | - if (mount.at(0) != '/') { | ||
| 805 | - mount = "/" + mount; | ||
| 806 | - } | ||
| 807 | 803 | ||
| 808 | entry = new SrsLiveEntry(mount, tmpl->hstrs); | 804 | entry = new SrsLiveEntry(mount, tmpl->hstrs); |
| 809 | 805 |
-
请 注册 或 登录 后发表评论