1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

fix #635, hls support NonIDR(open gop). 2.0.226

This commit is contained in:
winlin 2017-01-10 11:14:20 +08:00
parent ba1c92a7b1
commit c9a71b7fb2
6 changed files with 45 additions and 4 deletions

View file

@ -385,6 +385,13 @@ public:
SrsCodecVideoAVCType avc_packet_type;
// whether sample_units contains IDR frame.
bool has_idr;
// Whether exists NonIDR NALU.
bool has_non_idr;
// Whether exists SEI NALU.
bool has_sei;
// Whether exists AUD NALU.
bool has_aud;
// The first nalu type.
SrsAvcNaluType first_nalu_type;
public:
// audio specified