mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
try to fix hls problem, print the video packets.
This commit is contained in:
parent
b8d4f68a69
commit
66931a8890
2 changed files with 3 additions and 1 deletions
|
@ -966,6 +966,8 @@ int SrsHls::on_video(SrsSharedPtrMessage* __video)
|
||||||
srs_error("hls codec demux video failed. ret=%d", ret);
|
srs_error("hls codec demux video failed. ret=%d", ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
srs_info("video decoded, type=%d, codec=%d, avc=%d, cts=%d, size=%d, time=%"PRId64,
|
||||||
|
sample->frame_type, codec->video_codec_id, sample->avc_packet_type, sample->cts, video->size, video->timestamp);
|
||||||
|
|
||||||
// ignore info frame,
|
// ignore info frame,
|
||||||
// @see https://github.com/winlinvip/simple-rtmp-server/issues/288#issuecomment-69863909
|
// @see https://github.com/winlinvip/simple-rtmp-server/issues/288#issuecomment-69863909
|
||||||
|
|
|
@ -488,7 +488,7 @@ int SrsAvcAacCodec::video_avc_demux(char* data, int size, SrsCodecSample* sample
|
||||||
// ignored.
|
// ignored.
|
||||||
}
|
}
|
||||||
|
|
||||||
srs_info("video decoded, type=%d, codec=%d, avc=%d, time=%d, size=%d",
|
srs_info("video decoded, type=%d, codec=%d, avc=%d, cts=%d, size=%d",
|
||||||
frame_type, video_codec_id, avc_packet_type, composition_time, size);
|
frame_type, video_codec_id, avc_packet_type, composition_time, size);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in a new issue