forked from sd007/SimpleSipClient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
simpleSipClient.pro
95 lines (76 loc) · 3.56 KB
/
simpleSipClient.pro
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
QT += core
QT += widgets
QT -= gui
QT += network websockets
CONFIG += c++11
TARGET = sipuac
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
#工程中包含的头文件
HEADERS += mediaclient.h \
defines.h \
rtprecver.h \
pstoh264.h \
frameresolve/sms.h \
frameresolve/access.h \
decoder/decoder.h \
imagelabel.h
SOURCES += main.cpp \
mediaclient.cpp \
rtprecver.cpp \
pstoh264.cpp \
frameresolve/sms.cpp \
frameresolve/access.cpp \
decoder/decoder.cpp \
imagelabel.cpp
# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
DESTDIR += ./bin
#MOC_DIR += ./tmp
#OBJECTS_DIR += ./tmp
unix {
INCLUDEPATH += $$PWD/pjlibs/pjlib-util/include
INCLUDEPATH += $$PWD/pjlibs/pjmedia/include
INCLUDEPATH += $$PWD/pjlibs/pjsip/include
INCLUDEPATH += $$PWD/pjlibs/pjnath/include
INCLUDEPATH += $$PWD/jrtplib/include
#ffmpeg
INCLUDEPATH += $$/usr/local/ffmpeg/include
LIBS += -lm -lpthread -lcrypto -lssl -lasound
LIBS += $$PWD/pjlibs/pjsip/lib/libpjsua-x86_64-unknown-linux-gnu.a
LIBS += $$PWD/pjlibs/pjsip/lib/libpjsip-ua-x86_64-unknown-linux-gnu.a
LIBS += $$PWD/pjlibs/pjsip/lib/libpjsua2-x86_64-unknown-linux-gnu.a
LIBS += $$PWD/pjlibs/pjmedia/lib/libpjmedia-x86_64-unknown-linux-gnu.a
LIBS += $$PWD/pjlibs/pjmedia/lib/libpjsdp-x86_64-unknown-linux-gnu.a
LIBS += $$PWD/pjlibs/pjsip/lib/libpjsip-simple-x86_64-unknown-linux-gnu.a
LIBS += $$PWD/pjlibs/pjsip/lib/libpjsip-ua-x86_64-unknown-linux-gnu.a
LIBS += $$PWD/pjlibs/pjsip/lib/libpjsip-x86_64-unknown-linux-gnu.a
LIBS += $$PWD/pjlibs/pjmedia/lib/libpjmedia-videodev-x86_64-unknown-linux-gnu.a
LIBS += $$PWD/pjlibs/pjmedia/lib/libpjsdp-x86_64-unknown-linux-gnu.a
LIBS += $$PWD/pjlibs/pjmedia/lib/libpjmedia-codec-x86_64-unknown-linux-gnu.a
LIBS += $$PWD/pjlibs/pjmedia/lib/libpjmedia-audiodev-x86_64-unknown-linux-gnu.a
LIBS += $$PWD/pjlibs/pjmedia/lib/libpjmedia-x86_64-unknown-linux-gnu.a
LIBS += $$PWD/pjlibs/pjnath/lib/libpjnath-x86_64-unknown-linux-gnu.a
LIBS += $$PWD/pjlibs/third_party/lib/libwebrtc-x86_64-unknown-linux-gnu.a
LIBS += $$PWD/pjlibs/third_party/lib/libyuv-x86_64-unknown-linux-gnu.a
LIBS += $$PWD/pjlibs/third_party/lib/libg7221codec-x86_64-unknown-linux-gnu.a
LIBS += $$PWD/pjlibs/third_party/lib/libgsmcodec-x86_64-unknown-linux-gnu.a
LIBS += $$PWD/pjlibs/third_party/lib/libresample-x86_64-unknown-linux-gnu.a
LIBS += $$PWD/pjlibs/third_party/lib/libilbccodec-x86_64-unknown-linux-gnu.a
LIBS += $$PWD/pjlibs/third_party/lib/libspeex-x86_64-unknown-linux-gnu.a
LIBS += $$PWD/pjlibs/third_party/lib/libsrtp-x86_64-unknown-linux-gnu.a
LIBS += $$PWD/pjlibs/pjlib-util/lib/libpjlib-util-x86_64-unknown-linux-gnu.a
LIBS += $$PWD/pjlibs/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a
LIBS += $$PWD/jrtplib/lib/libjrtp.a
LIBS += -lm -lnsl -lrt -lpthread -lasound -lcrypto -lssl
LIBS += -L/usr/local/ffmpeg/lib/ -lavcodec -lavfilter -lavutil -lavdevice -lavformat -lswscale -lswresample
message("unix")
}
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0