diff options
author | 2017-06-23 14:51:19 +0000 | |
---|---|---|
committer | 2017-06-23 14:51:19 +0000 | |
commit | ea99c36cadfab26fe4bf523931f87132c01a54a2 (patch) | |
tree | 13fc8ff2f6072add96f987a1a68a15c22d68d911 /MPD/IMPDWrapper.h | |
parent | e207b82a2b7e70e2700cf1c4237a2e819c655809 (diff) | |
parent | a644414fd2c3a3f7f41e716b6875a78981e4cfe1 (diff) |
Merge "adding mpd live handling + automatic mpd fetching" into viper/master
Diffstat (limited to 'MPD/IMPDWrapper.h')
-rw-r--r-- | MPD/IMPDWrapper.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/MPD/IMPDWrapper.h b/MPD/IMPDWrapper.h new file mode 100644 index 00000000..7390494e --- /dev/null +++ b/MPD/IMPDWrapper.h @@ -0,0 +1,46 @@ +/* + * MPDWrapper.h + ***************************************************************************** + * Copyright (C) 2017, Cisco Systems France + * + * Email: cicn-dev@lists.fd.io + * + * This source code and its use and distribution, is subject to the terms + * and conditions of the applicable license agreement. + *****************************************************************************/ + + +#ifndef LIBDASH_FRAMEWORK_MPD_IMPDWRAPPER_H_ +#define LIBDASH_FRAMEWORK_MPD_IMPDWRAPPER_H_ + +#include "../Managers/IStreamObserver.h" +//#include <string> +//#include <vector> +#include "IMPD.h" +#include "../Managers/IStreamObserver.h" + +namespace libdash +{ +namespace framework +{ +namespace mpd +{ +class IMPDWrapper +{ +public: + virtual std::string getAvailabilityStarttime() = 0; + virtual std::string getTimeShiftBufferDepth() = 0; + virtual std::string getTypeWithoutLock() = 0; + virtual uint32_t getFetchTime() = 0; + virtual std::string getMinimumUpdatePeriodWithoutLock() = 0; + virtual std::vector<dash::mpd::IBaseUrl *> resolveBaseUrl(viper::managers::StreamType type, size_t mpdBaseUrl, size_t periodBaseUrl, size_t adaptationSetBaseUrl) = 0; + virtual std::vector<dash::mpd::IBaseUrl *> resolveBaseUrl(viper::managers::StreamType type, size_t mpdBaseUrl, size_t periodBaseUrl, size_t adaptationSetBaseUrl, dash::mpd::IMPD* mpd) = 0; + virtual void releaseLock() = 0; + virtual std::string getMediaPresentationDuration() = 0; +}; +} +} +} + +#endif /* LIBDASH_FRAMEWORK_MPD_IMPDWRAPPER_H_ */ + |