aboutsummaryrefslogtreecommitdiffstats
path: root/Input/DASHReceiver.h
diff options
context:
space:
mode:
authorJacques Samain <jsamain+fdio@cisco.com>2017-06-26 14:11:58 +0200
committerJacques Samain <jsamain+fdio@cisco.com>2017-06-26 14:11:58 +0200
commitbd809fc04c3f9c36f8d145999e5a008ffd90a10b (patch)
treeea2575a1db9056adfbd3f4891f82829f091e60a3 /Input/DASHReceiver.h
parent65bb20ba5cf4ede70026142d61e728c44cc78f9c (diff)
Corrected typo
Change-Id: I85fa9fd7adedcd26cf866847b3c747f99a14f2c3 Signed-off-by: Jacques Samain <jsamain+fdio@cisco.com>
Diffstat (limited to 'Input/DASHReceiver.h')
-rw-r--r--Input/DASHReceiver.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/Input/DASHReceiver.h b/Input/DASHReceiver.h
index ed98b9e1..9d221ec5 100644
--- a/Input/DASHReceiver.h
+++ b/Input/DASHReceiver.h
@@ -62,7 +62,7 @@ public:
void SetPosition(uint32_t segmentNumber);
void SetLooping(bool isLoopinp);
void SetPositionInMsecs(uint32_t milliSecs);
-
+ dash::mpd::IRepresentation* GetRepresentation();
void SetRepresentation();
void SetAdaptationLogic(adaptation::IAdaptationLogic *_adaptationLogic);
libdash::framework::adaptation::IAdaptationLogic* GetAdaptationLogic();
@@ -86,17 +86,11 @@ private:
float drop;
bool withFeedBack;
bool isBufferBased;
-// std::map<dash::mpd::IRepresentation*, MediaObject*> initSegments;
- std::map<int, MediaObject*> initSegments;
+ std::map<int, MediaObject*> initSegments;
libdash::framework::buffer::Buffer<MediaObject> *buffer;
IDASHReceiverObserver *observer;
- libdash::framework::mpd::MPDWrapper *mpdWrapper;
-// dash::mpd::IMPD *mpd;
-// dash::mpd::IPeriod *period;
-// dash::mpd::IAdaptationSet *adaptationSet;
-// dash::mpd::IRepresentation *representation;
+ libdash::framework::mpd::MPDWrapper *mpdWrapper;
mpd::AdaptationSetStream *adaptationSetStream;
-// mpd::IRepresentationStream *representationStream;
uint32_t segmentNumber;
uint32_t positionInMsecs;
uint32_t segmentOffset;
@@ -121,13 +115,12 @@ private:
int bufferLevelAtUpdate;
int readMax;
uint8_t *readBuffer;
- viper::managers::StreamType type;
+ viper::managers::StreamType type;
+
uint32_t CalculateSegmentOffset();
void NotifySegmentDownloaded();
-// void DownloadInitSegment(dash::mpd::IRepresentation* rep);
void DownloadInitSegment();
void DownloadInitSegmentWithoutLock();
-// bool InitSegmentExists(dash::mpd::IRepresentation* rep);
bool InitSegmentExists(int rep);
static void* DoBuffering(void *receiver);
static void* DoMPDFetching(void * data);