• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package com.googlecode.mp4parser.boxes.piff;
2 
3 import com.googlecode.mp4parser.boxes.AbstractTrackEncryptionBox;
4 
5 /**
6  * aligned(8) class TrackEncryptionBox extends FullBox(‘uuid’,
7  * extended_type=0x8974dbce-7be7-4c51-84f9-7148f9882554, version=0,
8  * flags=0)
9  * {
10  * unsigned int(24) default_AlgorithmID;
11  * unsigned int(8) default_IV_size;
12  * unsigned int(8)[16] default_KID;
13  * }
14  */
15 public class PiffTrackEncryptionBox extends AbstractTrackEncryptionBox {
16 
17 
PiffTrackEncryptionBox()18     public PiffTrackEncryptionBox() {
19         super("uuid");
20     }
21 
22     @Override
getUserType()23     public byte[] getUserType() {
24         return new byte[]{(byte) 0x89, 0x74, (byte) 0xdb, (byte) 0xce, 0x7b, (byte) 0xe7, 0x4c, 0x51,
25                 (byte) 0x84, (byte) 0xf9, 0x71, 0x48, (byte) 0xf9, (byte) 0x88, 0x25, 0x54};
26     }
27 
28     @Override
getFlags()29     public int getFlags() {
30         return 0;
31     }
32 
33 
34 }
35