internal override void writeParameters(EncodedBuffer buffer, eParameterSet which) { switch (which) { case eParameterSet.SPS: buffer.writeSps(sps[0]); return; case eParameterSet.PPS: buffer.writePps(pps[0]); return; case eParameterSet.VPS: throw new NotImplementedException("VPS is only for h.265 video which is not yet implemented"); default: throw new ArgumentException($"Unexpected eParameterSet set value { which }"); } }
internal abstract void writeParameters(EncodedBuffer buffer, eParameterSet which);