VideoToolBox HEVC Encoded video different from camera shot HEVC video

I am new to ************ HEVC video encoding. I found the streams I got from ************ HEVC compression:

CMVideoFormatDescriptionGetHEVCParameterSetAtIndex, I get vps, sps and pps as the NALU. But when I compare the hevc stream with the hevc video I took with my IphoneXS, I found Iphone XS video has 2 pps headers. As I searched the internet, people are saying some hevc videos have multiple pps, so I wonder is it possible to set multiple HEVC pps headers like the iphone camera in ************?

Any response is helpful.


Thanks in advance!

VideoToolBox HEVC Encoded video different from camera shot HEVC video
 
 
Q