aboutsummaryrefslogtreecommitdiffstats
path: root/MPD/SegmentTemplateStream.h
diff options
context:
space:
mode:
authorLuca Muscariello <lumuscar+fdio@cisco.com>2017-06-19 12:30:20 +0000
committerGerrit Code Review <gerrit@fd.io>2017-06-19 12:30:20 +0000
commite207b82a2b7e70e2700cf1c4237a2e819c655809 (patch)
treead1565a5d9aabb3c699a80404f60aa68ea56d914 /MPD/SegmentTemplateStream.h
parent0b0fe36cbc95a483d205d3f86fea579f0cdd5f59 (diff)
parentf8907f0a7a84928800adbbfd8e66e500794aa5d5 (diff)
Merge "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)" into viper/master
Diffstat (limited to 'MPD/SegmentTemplateStream.h')
-rw-r--r--MPD/SegmentTemplateStream.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/MPD/SegmentTemplateStream.h b/MPD/SegmentTemplateStream.h
index ea85ab1a..f27b77fb 100644
--- a/MPD/SegmentTemplateStream.h
+++ b/MPD/SegmentTemplateStream.h
@@ -38,6 +38,7 @@ public:
virtual RepresentationStreamType getStreamType();
virtual uint32_t getSize();
virtual uint32_t getAverageSegmentDuration();
+ virtual uint32_t getTimescale();
private:
dash::mpd::ISegmentTemplate* findSegmentTemplate();
@@ -45,6 +46,9 @@ private:
dash::mpd::ISegmentTemplate *segmentTemplate;
std::vector<uint32_t> segmentStartTimes;
+ uint32_t averageDuration;
+ bool inSync;
+ uint32_t currentSegment;
};
}
}