mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Optimize init h265 track and format.
This commit is contained in:
parent
83e8877623
commit
8953dbfba1
7 changed files with 49 additions and 53 deletions
|
@ -502,6 +502,10 @@ enum SrsHevcNaluType {
|
|||
// @see https://datatracker.ietf.org/doc/html/rfc7798#section-1.1.4
|
||||
#define SrsHevcNaluTypeParse(code) (SrsHevcNaluType)((code & 0x7E) >> 1)
|
||||
|
||||
/**
|
||||
* @see Table 7-7 – Name association to slice_type
|
||||
* @doc ITU-T-H.265-2021.pdf, page 96.
|
||||
*/
|
||||
enum SrsHevcSliceType {
|
||||
SrsHevcSliceTypeB = 0,
|
||||
SrsHevcSliceTypeP = 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue