mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
define SrsAvcNaluTypeParse
This commit is contained in:
parent
b3c508534d
commit
83d577a49a
5 changed files with 13 additions and 13 deletions
|
@ -422,6 +422,8 @@ enum SrsAvcNaluType
|
|||
// Coded slice extension slice_layer_extension_rbsp( )
|
||||
SrsAvcNaluTypeCodedSliceExt = 20,
|
||||
};
|
||||
// @see https://datatracker.ietf.org/doc/html/rfc6184#section-1.3
|
||||
#define SrsAvcNaluTypeParse(code) (SrsAvcNaluType)(code & 0x1F)
|
||||
std::string srs_avc_nalu2str(SrsAvcNaluType nalu_type);
|
||||
|
||||
#ifdef SRS_H265
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue