aboutsummaryrefslogtreecommitdiffstats
path: root/UI/DASHPlayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'UI/DASHPlayer.h')
-rw-r--r--UI/DASHPlayer.h19
1 files changed, 4 insertions, 15 deletions
diff --git a/UI/DASHPlayer.h b/UI/DASHPlayer.h
index 6204f46a..c85c2351 100644
--- a/UI/DASHPlayer.h
+++ b/UI/DASHPlayer.h
@@ -62,27 +62,19 @@ public:
virtual bool onDownloadMPDPressed(const std::string &url);
void setMPDWrapper(libdash::framework::mpd::MPDWrapper* mpdWrapper);
void setConfig(Config *config);
- Q_INVOKABLE bool downloadMPD(const QString &url, const QString &adaptationLogic, bool icn);
+ Q_INVOKABLE bool downloadMPD(const QString &adaptationLogic, bool icn);
Q_INVOKABLE void pause();
Q_INVOKABLE void seekVideo(float value);
Q_INVOKABLE void repeatVideo(bool repeat);
Q_INVOKABLE void onStopButtonPressed();
Q_INVOKABLE void play();
Q_INVOKABLE void onStopped();
- Q_INVOKABLE QString getLastPlayed();
- Q_INVOKABLE void setLastPlayed(QString lastPlayed);
Q_INVOKABLE QString getAdaptationLogic();
Q_INVOKABLE void setAdaptationLogic(QString adaptationLogic);
Q_INVOKABLE bool getIcn();
Q_INVOKABLE void setIcn(bool icn);
- Q_INVOKABLE QString getIcnPrefix();
- Q_INVOKABLE void setIcnPrefix(QString icnPrefix);
- Q_INVOKABLE QString getHttpPrefix();
- Q_INVOKABLE void setHttpPrefix(QString httpPrefix);
- Q_INVOKABLE QString getIcnSuffix();
- Q_INVOKABLE void setIcnSuffix(QString icnSuffix);
- Q_INVOKABLE QString getHttpSuffix();
- Q_INVOKABLE void setHttpSuffix(QString httpSuffix);
+ Q_INVOKABLE QString getVideoURI();
+ Q_INVOKABLE void setVideoURI(QString videoURI);
Q_INVOKABLE qreal getAlpha();
Q_INVOKABLE void setAlpha(qreal alpha);
Q_INVOKABLE qreal getSegmentBufferSize();
@@ -181,10 +173,7 @@ private:
CRITICAL_SECTION monitorMutex;
const char *url;
bool icn;
- std::string icnPrefix;
- std::string httpPrefix;
- std::string icnSuffix;
- std::string httpSuffix;
+ std::string videoURI;
double alpha;
struct libdash::framework::adaptation::AdaptationParameters *parametersAdaptation;
libdash::framework::adaptation::LogicType adaptLogic;