In a SIP video call, the receiver of the video stream respond with the capabilities of its decoder.
The parameter which defines that is the profile-level-id
. Here is an example value of the profile-level-id parameter: 428014
RFC 6184 defined that as
A base16 [7] (hexadecimal) representation of the following
three bytes in the sequence parameter set NAL unit is specified
in 1: 1) profile_idc, 2) a byte herein referred to as
profile-iop, composed of the values of constraint_set0_flag,
constraint_set1_flag, constraint_set2_flag,
constraint_set3_flag, constraint_set4_flag,
constraint_set5_flag, and reserved_zero_2bits in bit-
significance order, starting from the most-significant bit, and
3) level_idc.
According to that, the following parameters from the example value can be identified:
- profile_idc 42
- profile-iop 82
- level-idc 14
How to relate those numbers to the profiles and levels defined for h264?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…