Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2014-09-16 15:56:46 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1d454cd5fbc64c5f55301c7efa45e65cbb7764b1
1d454cd5
1 parent
9dd09393
add bug for http-mp4.
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
trunk/src/app/srs_app_http_conn.cpp
trunk/src/app/srs_app_http_conn.cpp
查看文件 @
1d454cd
...
...
@@ -167,6 +167,7 @@ int SrsHttpVhost::do_process_request(SrsStSocket* skt, SrsHttpMessage* 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"
))
{
return
response_ts_file
(
skt
,
req
,
fullpath
);
}
else
if
(
srs_string_ends_with
(
fullpath
,
".flv"
)
||
srs_string_ends_with
(
fullpath
,
".fhv"
))
{
...
...
请
注册
或
登录
后发表评论