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