1
0
Fork 0
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:
winlin 2014-04-16 11:11:53 +08:00
parent 642fc19f9d
commit 005502a07e
2 changed files with 4 additions and 1 deletions

View file

@ -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;