Skip to content

Commit

Permalink
fix hls error when stream has extension.
Browse files Browse the repository at this point in the history
for issues/4215
  • Loading branch information
duiniuluantanqin committed Oct 29, 2024
1 parent 101382a commit 598a9ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trunk/src/app/srs_app_http_stream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 598a9ca

Please sign in to comment.