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-04-16 11:11:53 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
005502a07e1f5097be5d612273c1bbc13632a42a
005502a0
1 parent
642fc19f
update comments for HLS on_hls_start
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
4 行增加
和
1 行删除
trunk/src/app/srs_app_hls.cpp
trunk/src/app/srs_app_source.cpp
trunk/src/app/srs_app_hls.cpp
查看文件 @
005502a
...
...
@@ -1295,6 +1295,8 @@ int SrsHls::on_publish(SrsRequest* req)
}
// notice the source to get the cached sequence header.
// when reload to start hls, hls will never get the sequence header in stream,
// use the SrsSource.on_hls_start to push the sequence header to HLS.
if
((
ret
=
source
->
on_hls_start
())
!=
ERROR_SUCCESS
)
{
srs_error
(
"callback source hls start failed. ret=%d"
,
ret
);
return
ret
;
...
...
trunk/src/app/srs_app_source.cpp
查看文件 @
005502a
...
...
@@ -653,7 +653,8 @@ int SrsSource::on_hls_start()
#ifdef SRS_AUTO_HLS
// feed the hls the metadata/sequence header,
// when reload to enable the hls.
// when reload to start hls, hls will never get the sequence header in stream,
// use the SrsSource.on_hls_start to push the sequence header to HLS.
// TODO: maybe need to decode the metadata?
if
(
cache_sh_video
&&
(
ret
=
hls
->
on_video
(
cache_sh_video
->
copy
()))
!=
ERROR_SUCCESS
)
{
srs_error
(
"hls process video sequence header message failed. ret=%d"
,
ret
);
...
...
请
注册
或
登录
后发表评论