forked from saint13/cordova-plugin-sip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
172 lines (152 loc) · 11.1 KB
/
plugin.xml
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<?xml version="1.0" encoding="utf-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-sip"
version="2.0.0">
<name>SIP - LinPhone</name>
<description>A plugin to integrate linphone features to cordova</description>
<license>MIT</license>
<keywords>sip,cordova,phonegap,linphone,liblinphone</keywords>
<engines>
<engine name="cordova-android" version=">=4.0.0-dev" />
<engine name="cordova-ios" version=">=4.0.0-dev" />
<engine name="cordova-wp8" version=">=4.0.0-dev" />
</engines>
<!-- android -->
<platform name="android">
<config-file target="config.xml" parent="/*">
<feature name="Linphone">
<param name="android-package" value="com.sip.linphone.Linphone" />
</feature>
</config-file>
<source-file src="src/android/src/Linphone.java" target-dir="src/com/sip/linphone" />
<source-file src="src/android/src/LinphoneMiniActivity.java" target-dir="src/com/sip/linphone" />
<source-file src="src/android/src/LinphoneMiniManager.java" target-dir="src/com/sip/linphone" />
<source-file src="src/android/src/LinphoneMiniUtils.java" target-dir="src/com/sip/linphone" />
<source-file src="src/android/res/layout/incall.xml" target-dir="res/layout" />
<source-file src="src/android/res/raw/incoming_chat.wav" target-dir="res/raw" />
<source-file src="src/android/res/raw/linphonerc_default" target-dir="res/raw" />
<source-file src="src/android/res/raw/linphonerc_factory" target-dir="res/raw" />
<source-file src="src/android/res/raw/lpconfig.xsd" target-dir="res/raw" />
<source-file src="src/android/res/raw/oldphone_mono.wav" target-dir="res/raw" />
<source-file src="src/android/res/raw/ringback.wav" target-dir="res/raw" />
<source-file src="src/android/res/raw/toy_mono.wav" target-dir="res/raw" />
<source-file src="src/android/res/raw/rootca.pem" target-dir="res/raw" />
<source-file src="src/android/libs/linphone.jar" target-dir="libs" />
<source-file src="src/android/libs/arm64-v8a/libbctoolbox-arm64-v8a.so" target-dir="libs/arm64-v8a" />
<source-file src="src/android/libs/arm64-v8a/libbctoolbox-tester-arm64-v8a.so" target-dir="libs/arm64-v8a" />
<source-file src="src/android/libs/arm64-v8a/libgnustl_shared.so" target-dir="libs/arm64-v8a" />
<source-file src="src/android/libs/arm64-v8a/liblinphone-arm64-v8a.so" target-dir="libs/arm64-v8a" />
<source-file src="src/android/libs/arm64-v8a/liblinphonetester-arm64-v8a.so" target-dir="libs/arm64-v8a" />
<source-file src="src/android/libs/arm64-v8a/libmediastreamer_base-arm64-v8a.so" target-dir="libs/arm64-v8a" />
<source-file src="src/android/libs/arm64-v8a/libmediastreamer_voip-arm64-v8a.so" target-dir="libs/arm64-v8a" />
<source-file src="src/android/libs/arm64-v8a/libmssilk.so" target-dir="libs/arm64-v8a" />
<source-file src="src/android/libs/arm64-v8a/libmswebrtc.so" target-dir="libs/arm64-v8a" />
<source-file src="src/android/libs/arm64-v8a/libortp-arm64-v8a.so" target-dir="libs/arm64-v8a" />
<source-file src="src/android/libs/armeabi-v7a/libbctoolbox-armeabi-v7a.so" target-dir="libs/armeabi-v7a" />
<source-file src="src/android/libs/armeabi-v7a/libbctoolbox-tester-armeabi-v7a.so" target-dir="libs/armeabi-v7a" />
<source-file src="src/android/libs/armeabi-v7a/libgnustl_shared.so" target-dir="libs/armeabi-v7a" />
<source-file src="src/android/libs/armeabi-v7a/liblinphone-armeabi-v7a.so" target-dir="libs/armeabi-v7a" />
<source-file src="src/android/libs/armeabi-v7a/liblinphonetester-armeabi-v7a.so" target-dir="libs/armeabi-v7a" />
<source-file src="src/android/libs/armeabi-v7a/libmediastreamer_base-armeabi-v7a.so" target-dir="libs/armeabi-v7a" />
<source-file src="src/android/libs/armeabi-v7a/libmediastreamer_voip-armeabi-v7a.so" target-dir="libs/armeabi-v7a" />
<source-file src="src/android/libs/armeabi-v7a/libmssilk.so" target-dir="libs/armeabi-v7a" />
<source-file src="src/android/libs/armeabi-v7a/libmswebrtc.so" target-dir="libs/armeabi-v7a" />
<source-file src="src/android/libs/armeabi-v7a/libortp-armeabi-v7a.so" target-dir="libs/armeabi-v7a" />
<source-file src="src/android/libs/x86/libbctoolbox-tester-x86.so" target-dir="libs/x86" />
<source-file src="src/android/libs/x86/libbctoolbox-x86.so" target-dir="libs/x86" />
<source-file src="src/android/libs/x86/libgnustl_shared.so" target-dir="libs/x86" />
<source-file src="src/android/libs/x86/liblinphonetester-x86.so" target-dir="libs/x86" />
<source-file src="src/android/libs/x86/liblinphone-x86.so" target-dir="libs/x86" />
<source-file src="src/android/libs/x86/libmediastreamer_base-x86.so" target-dir="libs/x86" />
<source-file src="src/android/libs/x86/libmediastreamer_voip-x86.so" target-dir="libs/x86" />
<source-file src="src/android/libs/x86/libmssilk.so" target-dir="libs/x86" />
<source-file src="src/android/libs/x86/libmswebrtc.so" target-dir="libs/x86" />
<source-file src="src/android/libs/x86/libortp-x86.so" target-dir="libs/x86" />
<js-module src="www/cordova-plugins-sip.js" name="linphone">
<merges target="cordova.plugins.sip" />
</js-module>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:name="com.sip.linphone.LinphoneMiniActivity" android:theme="@android:style/Theme.Black.NoTitleBar" />
</config-file>
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Linphone">
<param name="ios-package" value="Linphone"/>
</feature>
</config-file>
<header-file src="src/ios/Linphone.h"/>
<source-file src="src/ios/Linphone.m"/>
<header-file src="src/ios/libs/apple-darwin/include/" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/mediastreamer/plugins/libmsamr.a" target-dir="lib/mediastreamer/plugins" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/mediastreamer/plugins/libmsbcg729.a" target-dir="lib/mediastreamer/plugins" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/mediastreamer/plugins/libmsopenh264.a" target-dir="lib/mediastreamer/plugins" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/mediastreamer/plugins/libmssilk.a" target-dir="lib/mediastreamer/plugins" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/mediastreamer/plugins/libmswebrtc.a" target-dir="lib/mediastreamer/plugins" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/mediastreamer/plugins/libmsx264.a" target-dir="lib/mediastreamer/plugins" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libantlr3c.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libavcodec.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libavutil.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libbcg729.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libbctoolbox.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libbellesip.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libbzrtp.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libcorec.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libcunit.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libebml2.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libgsm.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/liblinphone.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/liblinphonetester.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libmatroska2.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libmediastreamer_base.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libmediastreamer_voip.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libopencore-amrnb.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libopencore-amrwb.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libopenh264.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libopus.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libortp.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libpolarssl.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libspeex.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libspeexdsp.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libsrtp.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libswresample.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libswscale.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libtunnel.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libvo-amrwbenc.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libvpx.a" target-dir="lib" />
<source-file framework="true" src="src/ios/libs/apple-darwin/lib/libx264.a" target-dir="lib" />
<source-file src="src/ios/libs/apple-darwin/share/" />
<framework src="AVFoundation.framework" />
<framework src="AudioToolbox.framework" />
<framework src="CoreFoundation.framework" />
<framework src="CoreMedia.framework" />
<framework src="CoreData.framework" />
<framework src="CoreAudio.framework" />
<framework src="libz.tbd" />
<framework src="libsqlite3.tbd" />
<framework src="libresolv.tbd" />
<framework src="libxml2.tbd" />
<framework src="libstdc++.tbd" />
<framework src="libc++abi.tbd" />
<js-module src="www/cordova-plugins-sip.js" name="linphone">
<merges target="cordova.plugins.sip" />
</js-module>
</platform>
<!-- wp8 -->
<platform name="wp8">
<config-file target="config.xml" parent="/*">
<feature name="Linphone">
<param name="wp-package" value="Linphone"/>
</feature>
</config-file>
<source-file src="src/wp/Linphone.cs" />
</platform>
</plugin>