mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
enhanced avc decode, parse the sps get width+height. 2.0.156.
This commit is contained in:
parent
7e1749e029
commit
70c59da1bf
9 changed files with 351 additions and 8 deletions
|
@ -580,6 +580,11 @@ private:
|
|||
* decode the sps and pps.
|
||||
*/
|
||||
virtual int avc_demux_sps_pps(SrsStream* stream);
|
||||
/**
|
||||
* decode the sps rbsp stream.
|
||||
*/
|
||||
virtual int avc_demux_sps();
|
||||
virtual int avc_demux_sps_rbsp(char* rbsp, int nb_rbsp);
|
||||
/**
|
||||
* demux the avc NALU in "AnnexB"
|
||||
* from H.264-AVC-ISO_IEC_14496-10.pdf, page 211.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue