Minor changes
Reading the Segment sizes from the MPD file

Added sample MPD file with  segment sizes
Changed the read to binary
Changed the fixed segment duration to get the segment duration form the file