diff options
author | Jacques Samain <jsamain+fdio@cisco.com> | 2017-06-26 14:11:58 +0200 |
---|---|---|
committer | Jacques Samain <jsamain+fdio@cisco.com> | 2017-06-26 14:11:58 +0200 |
commit | bd809fc04c3f9c36f8d145999e5a008ffd90a10b (patch) | |
tree | ea2575a1db9056adfbd3f4891f82829f091e60a3 /Input/DASHReceiver.h | |
parent | 65bb20ba5cf4ede70026142d61e728c44cc78f9c (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.h | 17 |
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); |