aboutsummaryrefslogtreecommitdiffstats
path: root/UI/DASHPlayer.h
diff options
context:
space:
mode:
authorjsamain <jsamain@cisco.com>2019-05-27 18:59:35 +0200
committerjsamain <jsamain@cisco.com>2019-05-27 18:59:35 +0200
commit2a876fc0d7986dc1ecb169bdc41972fe0f33d0dd (patch)
tree4a907472bfbe31e3fa75e3291282af27d6ba6956 /UI/DASHPlayer.h
parent6dd3a9e9f88d7ef36707dad09f16685944aa182c (diff)
Update to be compliant with [HICN-206] Customize first part of the name for HTTP.
Added the -P option to set the IPv6 first word of the name. Change-Id: I321b22450d0efee713ddefef7405cf46ee381369 Signed-off-by: jsamain <jsamain@cisco.com>
Diffstat (limited to 'UI/DASHPlayer.h')
-rw-r--r--UI/DASHPlayer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/UI/DASHPlayer.h b/UI/DASHPlayer.h
index c85c2351..7b6274f6 100644
--- a/UI/DASHPlayer.h
+++ b/UI/DASHPlayer.h
@@ -45,7 +45,7 @@ class DASHPlayer : public IDASHPlayerGuiObserver, public managers::IMultimediaMa
Q_OBJECT
public:
- DASHPlayer(ViperGui& gui, Config *config);
+ DASHPlayer(int argc, char* argv[], ViperGui& gui, Config *config);
virtual ~DASHPlayer();
virtual void onSettingsChanged(int period, int videoAdaptationSet, int videoRepresentation, int audioAdaptationSet, int audioRepresentation);
@@ -74,7 +74,9 @@ public:
Q_INVOKABLE bool getIcn();
Q_INVOKABLE void setIcn(bool icn);
Q_INVOKABLE QString getVideoURI();
+ Q_INVOKABLE QString getV6FirstWord();
Q_INVOKABLE void setVideoURI(QString videoURI);
+ Q_INVOKABLE void setV6FirstWord(QString v6FirstWord);
Q_INVOKABLE qreal getAlpha();
Q_INVOKABLE void setAlpha(qreal alpha);
Q_INVOKABLE qreal getSegmentBufferSize();
@@ -174,6 +176,7 @@ private:
const char *url;
bool icn;
std::string videoURI;
+ std::string v6FirstWord;
double alpha;
struct libdash::framework::adaptation::AdaptationParameters *parametersAdaptation;
libdash::framework::adaptation::LogicType adaptLogic;