diff options
author | jacko <jsamain+fdio@cisco.com> | 2017-06-08 19:54:24 +0200 |
---|---|---|
committer | jacko <jsamain+fdio@cisco.com> | 2017-06-08 19:59:02 +0200 |
commit | f8907f0a7a84928800adbbfd8e66e500794aa5d5 (patch) | |
tree | ad1565a5d9aabb3c699a80404f60aa68ea56d914 /MPD/AbstractRepresentationStream.h | |
parent | e3bff273518853e34c86719ce86fa72f1b5ba3b1 (diff) |
Adding handling for different kind of MPDs (previously the front end could only handle MPD with SegmentList)
Now can handle:
MPD with SegmentTemplate in Representation (VOD)
MPD with SegmentTemplate and SegmentTimeline (live)
Change-Id: Ie32e0e1823c94b1412990192595b16d3e2df1cfd
Plus: removed some printf
Signed-off-by: jacko <jsamain+fdio@cisco.com>
Diffstat (limited to 'MPD/AbstractRepresentationStream.h')
-rw-r--r-- | MPD/AbstractRepresentationStream.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/MPD/AbstractRepresentationStream.h b/MPD/AbstractRepresentationStream.h index e0f354b4..4728e366 100644 --- a/MPD/AbstractRepresentationStream.h +++ b/MPD/AbstractRepresentationStream.h @@ -46,6 +46,9 @@ public: virtual uint32_t getLastSegmentNumber(); virtual uint32_t getAverageSegmentDuration(); + virtual uint32_t getTimescale(); + virtual void setSegmentOffset(uint32_t offset); + protected: virtual void setBaseUrls(const std::vector<dash::mpd::IBaseUrl *> baseurls); @@ -54,6 +57,7 @@ protected: dash::mpd::IPeriod *period; dash::mpd::IAdaptationSet *adaptationSet; dash::mpd::IRepresentation *representation; + uint32_t segmentOffset; }; } } |