aboutsummaryrefslogtreecommitdiffstats
path: root/MPD/AdaptationSetHelper.h
blob: 683d0f0c754b23b904e5ae3cbc1bdb05c5337aeb (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
/*
 * AdaptationSetHelper.h
 *****************************************************************************
 * Copyright (C) 2012, bitmovin Softwareentwicklung OG, All Rights Reserved
 *
 * Email: libdash-dev@vicky.bitmovin.net
 *
 * This source code and its use and distribution, is subject to the terms
 * and conditions of the applicable license agreement.
 *****************************************************************************/

#ifndef LIBDASH_FRAMEWORK_MPD_ADAPTATIONSETHELPER_H_
#define LIBDASH_FRAMEWORK_MPD_ADAPTATIONSETHELPER_H_

#include "IMPD.h"
#include <QMessageLogger>

namespace libdash
{
namespace framework
{
namespace mpd
{
class AdaptationSetHelper
{
public:
    static std::vector<dash::mpd::IAdaptationSet *> getAudioAdaptationSets(dash::mpd::IPeriod *period);
    static std::vector<dash::mpd::IAdaptationSet *> getVideoAdaptationSets(dash::mpd::IPeriod *period);
    static bool isAudioAdaptationSet(dash::mpd::IAdaptationSet *adaptationSet);
    static bool isVideoAdaptationSet(dash::mpd::IAdaptationSet *adaptationSet);
    static bool isContainedInMimeType(dash::mpd::IAdaptationSet *adaptationSet, std::string value);
};
}
}
}
#endif /* LIBDASH_FRAMEWORK_MPD_ADAPTATIONSETHELPER_H_ */