mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
update comments for HLS on_hls_start
This commit is contained in:
parent
642fc19f9d
commit
005502a07e
2 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue