RetroShare/plugins/VOIP/VOIP.pro
csoler b6089f3b91 Started implementation of Video Chat (not working yet!).
- GUI part is done
- implemented a very basic JPEG codec
- added echo frame in configuration panel
- created a video capture object that uses OpenCV (should be cross systems)
Remains to do:
- serialise and send frames through p3VoRS
- use a serious codec (e.g. Theora+x264)
- add icons to reflect camera state (failure/working/sending/...)
- compilation on windows 



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7449 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-13 13:57:25 +00:00

90 lines
2.3 KiB
Prolog

!include("../Common/retroshare_plugin.pri"): error("Could not include file ../Common/retroshare_plugin.pri")
greaterThan(QT_MAJOR_VERSION, 4) {
# Qt 5
QT += widgets
}
exists($$[QMAKE_MKSPECS]/features/mobility.prf) {
CONFIG += mobility
} else {
QT += multimedia
}
CONFIG += qt uic qrc resources
MOBILITY = multimedia
INCLUDEPATH += ../../retroshare-gui/src/temp/ui ../../libretroshare/src
INCLUDEPATH += /usr/include/opencv
#################################### Windows #####################################
win32 {
# Speex
INCLUDEPATH += ../../../speex-1.2rc1/include
}
QMAKE_CXXFLAGS *= -Wall
SOURCES = services/p3vors.cc \
services/rsvoipitems.cc \
gui/AudioInputConfig.cpp \
gui/AudioStats.cpp \
gui/AudioWizard.cpp \
gui/SpeexProcessor.cpp \
gui/audiodevicehelper.cpp \
gui/VoipStatistics.cpp \
gui/VOIPChatWidgetHolder.cpp \
gui/PluginGUIHandler.cpp \
gui/PluginNotifier.cpp \
gui/VideoProcessor.cpp \
gui/QVideoDevice.cpp \
VOIPPlugin.cpp
HEADERS = services/p3vors.h \
services/rsvoipitems.h \
gui/AudioInputConfig.h \
gui/AudioStats.h \
gui/AudioWizard.h \
gui/SpeexProcessor.h \
gui/audiodevicehelper.h \
gui/VoipStatistics.h \
gui/VOIPChatWidgetHolder.h \
gui/PluginGUIHandler.h \
gui/PluginNotifier.h \
gui/VideoProcessor.h \
gui/QVideoDevice.h \
interface/rsvoip.h \
VOIPPlugin.h
FORMS = gui/AudioInputConfig.ui \
gui/AudioStats.ui \
gui/VoipStatistics.ui \
gui/AudioWizard.ui
TARGET = VOIP
RESOURCES = gui/VOIP_images.qrc lang/VOIP_lang.qrc
TRANSLATIONS += \
lang/VOIP_ca_ES.ts \
lang/VOIP_cs.ts \
lang/VOIP_da.ts \
lang/VOIP_de.ts \
lang/VOIP_el.ts \
lang/VOIP_en.ts \
lang/VOIP_es.ts \
lang/VOIP_fi.ts \
lang/VOIP_fr.ts \
lang/VOIP_hu.ts \
lang/VOIP_it.ts \
lang/VOIP_ja_JP.ts \
lang/VOIP_ko.ts \
lang/VOIP_nl.ts \
lang/VOIP_pl.ts \
lang/VOIP_ru.ts \
lang/VOIP_sv.ts \
lang/VOIP_tr.ts \
lang/VOIP_zh_CN.ts
LIBS += -lspeex -lspeexdsp -lopencv_core -lopencv_highgui