diff options
author | Luca Muscariello <lumuscar+fdio@cisco.com> | 2017-06-23 14:51:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2017-06-23 14:51:19 +0000 |
commit | ea99c36cadfab26fe4bf523931f87132c01a54a2 (patch) | |
tree | 13fc8ff2f6072add96f987a1a68a15c22d68d911 /Adaptation/RateBasedAdaptation.h | |
parent | e207b82a2b7e70e2700cf1c4237a2e819c655809 (diff) | |
parent | a644414fd2c3a3f7f41e716b6875a78981e4cfe1 (diff) |
Merge "adding mpd live handling + automatic mpd fetching" into viper/master
Diffstat (limited to 'Adaptation/RateBasedAdaptation.h')
-rw-r--r-- | Adaptation/RateBasedAdaptation.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Adaptation/RateBasedAdaptation.h b/Adaptation/RateBasedAdaptation.h index cbf7471c..670bc031 100644 --- a/Adaptation/RateBasedAdaptation.h +++ b/Adaptation/RateBasedAdaptation.h @@ -29,7 +29,8 @@ namespace adaptation class RateBasedAdaptation : public AbstractAdaptationLogic { public: - RateBasedAdaptation(dash::mpd::IMPD *mpd, dash::mpd::IPeriod *period, dash::mpd::IAdaptationSet *adaptationSet, bool isVid, struct AdaptationParameters *params); +// RateBasedAdaptation(dash::mpd::IMPD *mpd, dash::mpd::IPeriod *period, dash::mpd::IAdaptationSet *adaptationSet, bool isVid, struct AdaptationParameters *params); + RateBasedAdaptation(viper::managers::StreamType type, libdash::framework::mpd::MPDWrapper *mpdWrapper, struct AdaptationParameters *params); virtual ~RateBasedAdaptation(); virtual LogicType getType(); @@ -47,12 +48,12 @@ public: void ewma(uint64_t bps); void checkedByDASHReceiver(); private: - uint64_t currentBitrate; + uint64_t currentBitrate; std::vector<uint64_t> availableBitrates; viper::managers::IMultimediaManagerBase *multimediaManager; - dash::mpd::IRepresentation *representation; - double alpha; - uint64_t averageBw; + dash::mpd::IRepresentation *representation; + double alpha; + uint64_t averageBw; }; } } |