I'm using avcodec H264 decoder in my project. I receive NAL units from network, stick together NALs from same frame (additional header is added on network layer) and than pass to the decoder. I was wondering if frame sequence number is encoded into NAL unit - it would be logical, as we need the reference to IDR frames.
If this information is present - how can I extract it?
Right now I looking into ITU-T H.264 specification, which is quite complex I can admit. So far I have not found the answer to my question.