if(this->segmentNumber >= this->representationStream->getSize())
{
- qDebug("looping? : %s\n", this->isLooping ? "YES" : "NO");
+ //qDebug("looping? : %s\n", this->isLooping ? "YES" : "NO");
if(this->isLooping)
{
this->segmentNumber = 0;
}
if(!configFile)
{
- qDebug("beta %f, drop %f", this->beta, this->drop);
this->myConsumer->setSocketOption(RaaqmTransportOptions::BETA_VALUE, this->beta);
this->myConsumer->setSocketOption(RaaqmTransportOptions::DROP_FACTOR, this->drop);
}
memset(this->deezData, 0, this->deezDataSize);
}
- qDebug("ICN_Connection:\tINTIATED_to_name %s\n", m_name.c_str());
- qDebug("ICN_Connection:\tSTARTING DOWNLOAD %s\n", m_name.c_str());
}
void ICNConnectionConsumerApi::InitForMPD(const std::string& url)
#ifndef QTPLAYER_INPUT_ICNCONNECTIONCONSUMERAPI_H_
#define QTPLAYER_INPUT_ICNCONNECTIONCONSUMERAPI_H_
-#include <QMessageLogger>
#include "../Portable/Networking.h"
#include "IICNConnection.h"
#include "../debug.h"
#define LIBDASH_FRAMEWORK_MPD_ADAPTATIONSETHELPER_H_
#include "IMPD.h"
-#include <QMessageLogger>
namespace libdash
{
}
} else {
- qDebug("wrong position");
+ //qDebug("wrong position");
}
}
else
void DASHPlayer::error(const QtAV::AVError &e)
{
- qDebug("error in the player!");
+ //qDebug("error in the player!");
seekVideo(0);
}
#include "../Buffer/IBufferObserver.h"
#include "../MPD/AdaptationSetHelper.h"
#include "../Common/Config.h"
-#include <QMessageLogger>
#include <qimage.h>
#include<map>
#include<tuple>
<?xml version="1.0"?>
<manifest package="org.qtav.qmlplayer" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.0" android:versionCode="7" android:installLocation="auto">
<application android:hardwareAccelerated="true" android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="QtPlayer" android:icon="@drawable/icon">
- <activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|locale|fontScale|keyboard|keyboardHidden|navigation" android:name="org.qtav.qmlplayer.QMLPlayerActivity" android:label="QtPlayer" android:screenOrientation="unspecified" android:launchMode="singleTop">
+ <activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|locale|fontScale|keyboard|keyboardHidden|navigation" android:name="org.player.viper.ViperActivity" android:label="QtPlayer" android:screenOrientation="unspecified" android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
# This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
-androidBuildToolsVersion=25.0.2
-androidCompileSdkVersion=25
+androidBuildToolsVersion=23.0.2
+androidCompileSdkVersion=23
buildDir=.build
qt5AndroidDir=/Users/angelomantellini/Qt/5.7/android_armv7/src/android/java
{
private final static String TAG = "ViperPlayer";
private static String m_request_url;
- private static QMLPlayerActivity m_instance;
+ private static ViperActivity m_instance;
public ViperActivity() {
m_instance = this;
}
QT += androidextras
}
-CONFIG -= release
-CONFIG += debug
+CONFIG += release
CONFIG += c++11
}
macx:!ios {
+
#SOURCE is ok
INCLUDEPATH += /usr/local/include
INCLUDEPATH += /usr/local/include/libdash
- LIBS += -L"/usr/local/lib" -framework CoreServices -ldash -lavformat -lavutil -lavcodec -lboost_system -lboost_regex -lswscale -licnet -lssl -lcrypto
+ LIBS += -framework CoreServices -L"/usr/local/lib" -ldash -lavformat -lavutil -lavcodec -lboost_system -lboost_regex -lswscale -licnet -lssl -lcrypto
}
SOURCES *= main.cpp
android {
android/gradlew.bat
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
-
- LIBS += -lconsumer-producer -ldash -lavcodec -lavutil -lavformat -lboost_system # -lccnx_api_control -lccnx_api_notify -lccnx_api_portal -lccnx_common -lccnx_transport_rta #-lparc -lcrypto #-llongbow-textplain -llongbow-ansiterm -llongbow
+ INCLUDEPATH += $$(QT_HOME)/Qt/5.7/android_armv7/include
+ INCLUDEPATH += $$(QT_HOME)/Qt/5.7/android_armv7/include/libdash
+ LIBS += -lstdc++ -licnet -lgnustl_shared -ldash -lavcodec -lavutil -lavformat -lboost_system # -lccnx_api_control -lccnx_api_notify -lccnx_api_portal -lccnx_common -lccnx_transport_rta #-lparc -lcrypto #-llongbow-textplain -llongbow-ansiterm -llongbow
#user can put fonts in android/assets/fonts
}