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

refine the hls, ignore packet when no sequence header. 2.0.179

This commit is contained in:
winlin 2015-07-20 09:31:46 +08:00
parent 3b65af9bd2
commit b54f9b0f94
4 changed files with 30 additions and 17 deletions

View file

@ -608,6 +608,10 @@ public:
public:
SrsAvcAacCodec();
virtual ~SrsAvcAacCodec();
public:
// whether avc or aac codec sequence header or extra data is decoded ok.
virtual bool is_avc_codec_ok();
virtual bool is_aac_codec_ok();
// the following function used for hls to build the sample and codec.
public:
/**