private PiffProtectionSchemeInformation( PiffProtectionOriginalFormat format, PiffProtectionSchemaType schema, Guid keyId) { Format = format; Schema = schema; Info = new PiffProtectionSchemeInfo(keyId); }
public static PiffProtectionSchemeInformation CreateVideo(string codecId, Guid keyId) { return(new PiffProtectionSchemeInformation(PiffProtectionOriginalFormat.CreateVideo(codecId), PiffProtectionSchemaType.CreateVideo(), keyId)); }