diff --git a/trunk/src/app/srs_app_http_stream.cpp b/trunk/src/app/srs_app_http_stream.cpp index 36131c4515..e4b82419aa 100755 --- a/trunk/src/app/srs_app_http_stream.cpp +++ b/trunk/src/app/srs_app_http_stream.cpp @@ -629,7 +629,7 @@ srs_error_t SrsLiveStream::serve_http(ISrsHttpResponseWriter* w, ISrsHttpMessage // Correct the app and stream by path, which is created from template. // @remark Be careful that the stream has extension now, might cause identify fail. - req->stream = srs_path_basename(r->path()); + req->stream = srs_path_filename(r->path()); // update client ip req->ip = hc->remote_ip();