I use videoToolBox to decode H264 and use metal to render it.
I found the B frames in the raw stream, but when I watch out the value of the callback function presentTimeStamp.valid
, it returns false.
how I could decode h264 using videoToolBox in order without timeStamp in the raw stream?