mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
update comment TODO for sequence header and fast-startup caching last gop
This commit is contained in:
parent
9da31de1c1
commit
2ee913bd70
1 changed files with 4 additions and 0 deletions
|
@ -227,6 +227,8 @@ int SrsSource::on_audio(SrsCommonMessage* audio)
|
|||
}
|
||||
srs_info("dispatch audio success.");
|
||||
|
||||
// TODO: always update the sh.
|
||||
// TODO: cache last gop.
|
||||
if (!cache_sh_audio) {
|
||||
srs_freep(cache_sh_audio);
|
||||
cache_sh_audio = msg->copy();
|
||||
|
@ -262,6 +264,8 @@ int SrsSource::on_video(SrsCommonMessage* video)
|
|||
}
|
||||
srs_info("dispatch video success.");
|
||||
|
||||
// TODO: always update the sh.
|
||||
// TODO: cache last gop.
|
||||
if (!cache_sh_video) {
|
||||
srs_freep(cache_sh_video);
|
||||
cache_sh_video = msg->copy();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue