Oct 8, 2016 at 10:47 AM
Edited Oct 8, 2016 at 10:49 AM
Another bug. In some encoders that produces SPS and PPS every IDR picture packet will not be playble using your lib.
In this situation the Configurator will never pass this line in ReaderCheckConfigure:
if (!_slicePicParameterSetId.HasValue || !_ppsSeqParameterSetId.HasValue || !_seqParameterSetId.HasValue)
This happens i think that when setting those parameters in ReadPps and ReadSps you null it again even when they are already set:
I fixed that by this conditional in ReadPps and ReadSps functions so if SPS and PPS are already set - dont null them.
_slicePicParameterSetId = null;
_ppsSeqParameterSetId = null;
After those two patches (and this with delta wrong calculated) - 99% of my streams works in HLSView in my Win 8.1 App.