Beispiel #1
0
 public Fragment(byte[] boxBytes, int start, int end)
 {
     while (start < end) {
     Box box = Mp4Utils.GetBox(boxBytes, ref start, end);
     if (box == null) {
     } else if (box.ID == ID.mdat) {
       this.mdat = (box as MediaDataBox);
     } else if (box.ID == ID.moof) {
       this.moof = (box as MovieFragmentBox);
     }
       }
 }