diff options
author | jacko <jsamain+fdio@cisco.com> | 2017-06-23 16:12:18 +0200 |
---|---|---|
committer | jacko <jsamain+fdio@cisco.com> | 2017-06-23 16:12:18 +0200 |
commit | a644414fd2c3a3f7f41e716b6875a78981e4cfe1 (patch) | |
tree | 13fc8ff2f6072add96f987a1a68a15c22d68d911 /MPD/AdaptationSetStream.h | |
parent | f8907f0a7a84928800adbbfd8e66e500794aa5d5 (diff) |
adding mpd live handling + automatic mpd fetching
Change-Id: I2c05bdf6a4d940ad22bb8632268f4b63a08a80a8
Signed-off-by: jacko <jsamain+fdio@cisco.com>
Diffstat (limited to 'MPD/AdaptationSetStream.h')
-rw-r--r-- | MPD/AdaptationSetStream.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/MPD/AdaptationSetStream.h b/MPD/AdaptationSetStream.h index 3ad9788f..d38c1388 100644 --- a/MPD/AdaptationSetStream.h +++ b/MPD/AdaptationSetStream.h @@ -14,7 +14,7 @@ #include "IRepresentationStream.h" #include "IRepresentation.h" -#include "IMPD.h" +#include "MPDWrapper.h" #include "IPeriod.h" #include "IAdaptationSet.h" #include "RepresentationStreamFactory.h" @@ -29,19 +29,21 @@ namespace mpd class AdaptationSetStream { public: - AdaptationSetStream(dash::mpd::IMPD *mpd, dash::mpd::IPeriod *period, dash::mpd::IAdaptationSet *adaptationSet); +// AdaptationSetStream(dash::mpd::IMPD *mpd, dash::mpd::IPeriod *period, dash::mpd::IAdaptationSet *adaptationSet); + AdaptationSetStream(viper::managers::StreamType type, libdash::framework::mpd::MPDWrapper *mpdWrapper); virtual ~AdaptationSetStream(); - IRepresentationStream* getRepresentationStream(dash::mpd::IRepresentation *representation); +// IRepresentationStream* getRepresentationStream(dash::mpd::IRepresentation *representation); private: - RepresentationStreamType determineRepresentationStreamType(dash::mpd::IRepresentation *representation); +// RepresentationStreamType determineRepresentationStreamType(dash::mpd::IRepresentation *representation); void initialize(); - std::map<dash::mpd::IRepresentation *, IRepresentationStream *> representations; - dash::mpd::IMPD *mpd; - dash::mpd::IPeriod *period; - dash::mpd::IAdaptationSet *adaptationSet; +// std::map<dash::mpd::IRepresentation *, IRepresentationStream *> representations; + libdash::framework::mpd::MPDWrapper *mpdWrapper; + viper::managers::StreamType type; +// dash::mpd::IPeriod *period; +// dash::mpd::IAdaptationSet *adaptationSet; }; } |