add log for update video/audio sequence header
This commit is contained in:
parent
687d190da1
commit
bf1113dad7
|
|
@ -359,6 +359,7 @@ int SrsSource::on_audio(SrsCommonMessage* audio)
|
||||||
if (codec->audio_is_sequence_header(msg->payload, msg->size)) {
|
if (codec->audio_is_sequence_header(msg->payload, msg->size)) {
|
||||||
srs_freep(cache_sh_audio);
|
srs_freep(cache_sh_audio);
|
||||||
cache_sh_audio = msg->copy();
|
cache_sh_audio = msg->copy();
|
||||||
|
srs_trace("update audio sequence header success.");
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -403,6 +404,7 @@ int SrsSource::on_video(SrsCommonMessage* video)
|
||||||
if (codec->video_is_sequence_header(msg->payload, msg->size)) {
|
if (codec->video_is_sequence_header(msg->payload, msg->size)) {
|
||||||
srs_freep(cache_sh_video);
|
srs_freep(cache_sh_video);
|
||||||
cache_sh_video = msg->copy();
|
cache_sh_video = msg->copy();
|
||||||
|
srs_trace("update video sequence header success.");
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user