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