mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add bug for http-mp4.
This commit is contained in:
parent
9dd0939327
commit
1d454cd5fb
1 changed files with 1 additions and 0 deletions
|
@ -167,6 +167,7 @@ int SrsHttpVhost::do_process_request(SrsStSocket* skt, SrsHttpMessage* req)
|
||||||
|
|
||||||
std::string fullpath = get_request_file(req);
|
std::string fullpath = get_request_file(req);
|
||||||
|
|
||||||
|
// TODO: FIXME: support mp4, @see https://github.com/winlinvip/simple-rtmp-server/issues/174
|
||||||
if (srs_string_ends_with(fullpath, ".ts")) {
|
if (srs_string_ends_with(fullpath, ".ts")) {
|
||||||
return response_ts_file(skt, req, fullpath);
|
return response_ts_file(skt, req, fullpath);
|
||||||
} else if (srs_string_ends_with(fullpath, ".flv") || srs_string_ends_with(fullpath, ".fhv")) {
|
} else if (srs_string_ends_with(fullpath, ".flv") || srs_string_ends_with(fullpath, ".fhv")) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue