forked from flpwgr/rtsplayer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
52 lines (52 loc) · 3.01 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
<?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="br.com.stek.rtsplayer" version="1.0.0">
<name>rtsplayer</name>
<js-module name="rtsplayer" src="www/rtsplayer.js">
<clobbers target="cordova.plugins.rtsplayer" />
</js-module>
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="rtsplayer">
<param name="ios-package" value="rtsplayer" />
</feature>
</config-file>
<header-file src="src/ios/rtsplayer.h" />
<source-file src="src/ios/rtsplayer.m" />
<header-file src="src/ios/rtsplayerViewController.h" />
<source-file src="src/ios/rtsplayerViewController.m" />
<resource-file src="src/ios/rtsplayerViewController.xib" />
<header-file src="src/ios/FFFrameExtractor.h" />
<source-file compiler-flags="-I/usr/local/FFMpegiOS/include/ -I/usr/local/FFMpegiOS/include/libavcodec/ -I/usr/local/FFMpegiOS/include/libavformat/ -I/usr/local/FFMpegiOS/include/libswscale/" src="src/ios/FFFrameExtractor.m" />
<framework src="libiconv.dylib" />
<framework src="libz.dylib" />
<framework src="libbz2.dylib" />
<framework src="CoreVideo.framework" />
<source-file framework="true" src="src/ios/FFMpegiOS/lib/libavcodec.a" />
<source-file framework="true" src="src/ios/FFMpegiOS/lib/libavdevice.a" />
<source-file framework="true" src="src/ios/FFMpegiOS/lib/libavfilter.a" />
<source-file framework="true" src="src/ios/FFMpegiOS/lib/libavformat.a" />
<source-file framework="true" src="src/ios/FFMpegiOS/lib/libavutil.a" />
<source-file framework="true" src="src/ios/FFMpegiOS/lib/libswresample.a" />
<source-file framework="true" src="src/ios/FFMpegiOS/lib/libswscale.a" />
</platform>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="rtsplayer">
<param name="android-package" value="br.com.stek.rtsplayer.rtsplayer" />
</feature>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.CAMERA" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:name="br.com.stek.rtsplayer.rtsplayerActivity"></activity>
</config-file>
<source-file src="src/android/rtsplayer.java" target-dir="src/br/com/stek/rtsplayer" />
<source-file src="src/android/rtsplayerActivity.java" target-dir="src/br/com/stek/rtsplayer" />
</platform>
</plugin>