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
2015-06-02 12:56:04 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4e42b9c6286bd8483d8736803506ab5ec0b2a788
4e42b9c6
1 parent
679583da
copy the request for hls.
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
4 行增加
和
1 行删除
trunk/src/app/srs_app_hls.cpp
trunk/src/app/srs_app_hls.cpp
查看文件 @
4e42b9c
...
...
@@ -1117,6 +1117,7 @@ int SrsHlsCache::reap_segment(string log_desc, SrsHlsMuxer* muxer, int64_t segme
SrsHls
::
SrsHls
()
{
_req
=
NULL
;
source
=
NULL
;
handler
=
NULL
;
...
...
@@ -1137,6 +1138,7 @@ SrsHls::SrsHls()
SrsHls
::~
SrsHls
()
{
srs_freep
(
_req
);
srs_freep
(
codec
);
srs_freep
(
sample
);
srs_freep
(
jitter
);
...
...
@@ -1205,7 +1207,8 @@ int SrsHls::on_publish(SrsRequest* req)
{
int
ret
=
ERROR_SUCCESS
;
_req
=
req
;
srs_freep
(
_req
);
_req
=
req
->
copy
();
// update the hls time, for hls_dispose.
last_update_time
=
srs_get_system_time_ms
();
...
...
请
注册
或
登录
后发表评论