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?
constraint_set0_flag equal to 1 indicates that the coded video sequence obeys all constraints specified in subclause A.2.1. constraint_set0_flag equal to 0 indicates that the coded video sequence may or may not obey all constraints specified in subclause A.2.1.
. Where A.2.1 defines the Baseline profile. How did you decode that? Please answer here https://mcmap.net/q/1324555/-h264-profile-iop-explained – Stenotypy