blob: 61a8a1c3f4168932abc4b74d8075bc68b0e40185 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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_ */
|