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-05-21 12:02:50 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f0b54678ad01ca85f4b3ef93f983eba849ac69a2
f0b54678
1 parent
2a8db3ab
fix http hooks dvr bug, check dvr macro
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
6 行增加
和
0 行删除
trunk/src/app/srs_app_http_hooks.cpp
trunk/src/app/srs_app_http_hooks.hpp
trunk/src/app/srs_app_http_hooks.cpp
查看文件 @
f0b5467
...
...
@@ -325,6 +325,8 @@ void SrsHttpHooks::on_stop(string url, int client_id, string ip, SrsRequest* req
return
;
}
#ifdef SRS_AUTO_DVR
void
SrsHttpHooks
::
on_dvr_hss_reap_flv_header
(
std
::
string
url
,
SrsRequest
*
req
,
std
::
string
header_file
)
{
int
ret
=
ERROR_SUCCESS
;
...
...
@@ -432,3 +434,5 @@ void SrsHttpHooks::on_dvr_hss_reap_flv(string url, SrsRequest* req, SrsFlvSegmen
}
#endif
#endif
...
...
trunk/src/app/srs_app_http_hooks.hpp
查看文件 @
f0b5467
...
...
@@ -96,6 +96,7 @@ public:
* ignore if empty.
*/
static
void
on_stop
(
std
::
string
url
,
int
client_id
,
std
::
string
ip
,
SrsRequest
*
req
);
#ifdef SRS_AUTO_DVR
public
:
/**
* on_dvr_hss_reap_flv_header hook, when dvr write flv file header.
...
...
@@ -111,6 +112,7 @@ public:
* @param segment the current flv segment.
*/
static
void
on_dvr_hss_reap_flv
(
std
::
string
url
,
SrsRequest
*
req
,
SrsFlvSegment
*
segment
);
#endif
};
#endif
...
...
请
注册
或
登录
后发表评论