Skip to content

Commit

Permalink
Release 0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Narek committed Dec 23, 2016
1 parent f927d17 commit 991c9fa
Show file tree
Hide file tree
Showing 112 changed files with 114 additions and 12,829 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
## 0.10.0 [2016-12-23]

### Release Notes
Phonertc module is removed. For Webrtc support on iOS and on Adnroid<5 iosrtc and Crosswalk webview plugins are used.


### Breaking Changes
- For voice/video calls (iOS, Android<5) the plugins mentioned above are required.
- For real time notifications support on Android<4.4 Crosswalk Webview is required.

### Bugfixes
- Fixed the issue with missing remote video during iOS calls
- iOS 10 support

## 0.9.9 [2016-09-02]

### Release Notes
Expand Down
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,32 @@ function onDeviceReady() {
}
```

### Video/Voice calls on iOS

To enable call support on iOS add [iosrtc](https://github.com/eface2face/cordova-plugin-iosrtc) plugin

```
cordova plugin add cordova-plugin-iosrtc
```

Note: Check the plugin requirements on [this page](https://github.com/eface2face/cordova-plugin-iosrtc) and [building page](https://github.com/eface2face/cordova-plugin-iosrtc/blob/master/docs/Building.md)

Note: no need to add iosrtc if your app does not use audio/video calls.


### Video/Voice calls on Android < 5

To enable call support on Android < 5 add [Crosswalk Webview](https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview) plugin

```
cordova plugin add cordova-plugin-crosswalk-webview
```

### Real time notifications on Android<4.4

For real time notifications (websocket) on Android<4.4 Crosswalk Webview is required.


### Quickstart
Create a user with a password authentication:
```js
Expand Down
Binary file not shown.
Binary file removed libs/android/libjingle_peerconnection.jar
Binary file not shown.
Binary file removed libs/ios/libPhoneRTC.a
Binary file not shown.
151 changes: 15 additions & 136 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com.bit6.sdk"
version="0.9.9">
version="0.10.0">

<name>Bit6</name>
<description>Add voice and video calling, text and media messaging to your app</description>
Expand All @@ -15,22 +15,12 @@

<dependency id="cordova-plugin-device"/>

<js-module src="www/phonertc.js" name="PhoneRTC">
<js-module src="www/utils.js" name="Utils">
</js-module>


<js-module src="www/bit6.js" name="Bit6SDK">
</js-module>

<js-module src="www/my-rtc.js" name="MyRtc">
</js-module>

<js-module src="www/my-capture.js" name="MyCapture">
</js-module>

<js-module src="www/my-surface.js" name="MySurface">
</js-module>

<js-module src="www/push-wrappers.js" name="PushWrappers">
</js-module>

Expand All @@ -40,11 +30,18 @@


<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="PhoneRTCPlugin">
<param name="ios-package" value="PhoneRTCPlugin" />
<config-file target="config.xml" parent="/*">
<feature name="UtilsPlugin">
<param name="ios-package" value="UtilsPlugin" />
</feature>
</config-file>
<config-file platform="ios" target="*-Info.plist" parent="NSCameraUsageDescription">
<string>Requires camera for video calls</string>
</config-file>
<config-file platform="ios" target="*-Info.plist" parent="NSMicrophoneUsageDescription">
<string>Requires microphone for calls</string>
</config-file>


<framework src="libc++.dylib" />
<framework src="libstdc++.dylib" />
Expand All @@ -54,7 +51,7 @@
<framework src="CoreVideo.framework" />
<framework src="CoreMedia.framework" />
<framework src="CoreAudio.framework" />
<framework src="VideoToolbox.framework" />
<framework src="VideoToolbox.framework" />
<framework src="AVFoundation.framework" />
<framework src="QuartzCore.framework" />
<framework src="AssetsLibrary.framework" />
Expand All @@ -64,64 +61,10 @@
<framework src="AudioToolbox.framework" />
<framework src="GLKit.framework" />

<source-file src="libs/ios/libPhoneRTC.a" framework="true" />

<header-file src="src/ios/RTCAudioSource.h" />
<header-file src="src/ios/RTCAudioTrack.h" />
<header-file src="src/ios/RTCDataChannel.h" />
<header-file src="src/ios/RTCEAGLVideoView.h" />
<header-file src="src/ios/RTCI420Frame.h" />
<header-file src="src/ios/RTCICECandidate.h" />
<header-file src="src/ios/RTCICEServer.h" />
<header-file src="src/ios/RTCMediaConstraints.h" />
<header-file src="src/ios/RTCMediaSource.h" />
<header-file src="src/ios/RTCMediaStream.h" />
<header-file src="src/ios/RTCMediaStreamTrack.h" />
<header-file src="src/ios/RTCNSGLVideoView.h" />
<header-file src="src/ios/RTCOpenGLVideoRenderer.h" />
<header-file src="src/ios/RTCPair.h" />
<header-file src="src/ios/RTCPeerConnection.h" />
<header-file src="src/ios/RTCPeerConnectionDelegate.h" />
<header-file src="src/ios/RTCPeerConnectionFactory.h" />
<header-file src="src/ios/RTCSessionDescription.h" />
<header-file src="src/ios/RTCSessionDescriptionDelegate.h" />
<header-file src="src/ios/RTCStatsDelegate.h" />
<header-file src="src/ios/RTCStatsReport.h" />
<header-file src="src/ios/RTCTypes.h" />
<header-file src="src/ios/RTCVideoCapturer.h" />
<header-file src="src/ios/RTCVideoRenderer.h" />
<header-file src="src/ios/RTCVideoSource.h" />
<header-file src="src/ios/RTCVideoTrack.h" />

<!--<header-file src="src/ios/Bridging-Header.h" /> -->

<source-file src="src/ios/PhoneRTCPlugin.m" />
<source-file src="src/ios/PhoneRTCPlugin.h" />
<source-file src="src/ios/PCObserver.m" />
<source-file src="src/ios/PCObserver.h" />
<source-file src="src/ios/Session.m" />
<source-file src="src/ios/Session.h" />
<source-file src="src/ios/Config.m" />
<source-file src="src/ios/Config.h" />
<source-file src="src/ios/SessionDescriptionDelegate.m" />
<source-file src="src/ios/SessionDescriptionDelegate.h" />
<source-file src="src/ios/Base.lproj/Localizable.strings" target-dir="Resources/Base.lproj" />

<source-file src="src/ios/UtilsPlugin.m" />
<source-file src="src/ios/UtilsPlugin.h" />
</platform>
<platform name="android">
<source-file src="src/android/com/dooble/phonertc/PhoneRTCPlugin.java" target-dir="src/com/dooble/phonertc" />
<source-file src="src/android/com/dooble/phonertc/Session.java" target-dir="src/com/dooble/phonertc" />
<source-file src="src/android/com/dooble/phonertc/SessionConfig.java" target-dir="src/com/dooble/phonertc" />
<source-file src="src/android/com/dooble/phonertc/VideoGLView.java" target-dir="src/com/dooble/phonertc" />
<source-file src="src/android/com/dooble/phonertc/VideoConfig.java" target-dir="src/com/dooble/phonertc" />
<source-file src="src/android/com/dooble/phonertc/VideoTrackRendererPair.java" target-dir="src/com/dooble/phonertc" />

<config-file target="res/xml/config.xml" parent="/*">
<feature name="PhoneRTCPlugin">
<param name="android-package" value="com.dooble.phonertc.PhoneRTCPlugin" />
<!-- param name="access origin" value="YOUR_IP_ADDRESS:YOUR_PORT" / -->
</feature>
</config-file>

<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-feature android:name="android.hardware.camera" />
Expand All @@ -135,76 +78,12 @@
<uses-permission android:name="android.permission.CAMERA" />
</config-file>

<source-file src="libs/android/libjingle_peerconnection.jar" target-dir="libs"/>
<source-file src="libs/android/armeabi-v7a/libjingle_peerconnection_so.so" target-dir="libs/armeabi-v7a"/>

<!-- WebSocket files -->
<js-module src="www/phonegap-websocket.js" name="websocket">
<clobbers target="WebSocket" />
</js-module>

<config-file target="res/xml/config.xml" parent="/*">
<feature name="WebSocket">
<param name="android-package" value="com.ququplay.websocket.WebSocket" />
</feature>
</config-file>

<source-file src="src/android/org/java_websocket/AbstractWrappedByteChannel.java" target-dir="src/org/java_websocket" />
<source-file src="src/android/org/java_websocket/SocketChannelIOHelper.java" target-dir="src/org/java_websocket" />
<source-file src="src/android/org/java_websocket/SSLSocketChannel2.java" target-dir="src/org/java_websocket" />
<source-file src="src/android/org/java_websocket/WebSocket.java" target-dir="src/org/java_websocket" />
<source-file src="src/android/org/java_websocket/WebSocketAdapter.java" target-dir="src/org/java_websocket" />
<source-file src="src/android/org/java_websocket/WebSocketFactory.java" target-dir="src/org/java_websocket" />
<source-file src="src/android/org/java_websocket/WebSocketImpl.java" target-dir="src/org/java_websocket" />
<source-file src="src/android/org/java_websocket/WebSocketListener.java" target-dir="src/org/java_websocket" />
<source-file src="src/android/org/java_websocket/WrappedByteChannel.java" target-dir="src/org/java_websocket" />

<source-file src="src/android/org/java_websocket/client/AbstractClientProxyChannel.java" target-dir="src/org/java_websocket/client" />
<source-file src="src/android/org/java_websocket/client/WebSocketClient.java" target-dir="src/org/java_websocket/client" />

<source-file src="src/android/org/java_websocket/drafts/Draft.java" target-dir="src/org/java_websocket/drafts" />
<source-file src="src/android/org/java_websocket/drafts/Draft_10.java" target-dir="src/org/java_websocket/drafts" />
<source-file src="src/android/org/java_websocket/drafts/Draft_17.java" target-dir="src/org/java_websocket/drafts" />
<source-file src="src/android/org/java_websocket/drafts/Draft_75.java" target-dir="src/org/java_websocket/drafts" />
<source-file src="src/android/org/java_websocket/drafts/Draft_76.java" target-dir="src/org/java_websocket/drafts" />

<source-file src="src/android/org/java_websocket/exceptions/IncompleteHandshakeException.java" target-dir="src/org/java_websocket/exceptions" />
<source-file src="src/android/org/java_websocket/exceptions/InvalidDataException.java" target-dir="src/org/java_websocket/exceptions" />
<source-file src="src/android/org/java_websocket/exceptions/InvalidFrameException.java" target-dir="src/org/java_websocket/exceptions" />
<source-file src="src/android/org/java_websocket/exceptions/InvalidHandshakeException.java" target-dir="src/org/java_websocket/exceptions" />
<source-file src="src/android/org/java_websocket/exceptions/LimitExedeedException.java" target-dir="src/org/java_websocket/exceptions" />
<source-file src="src/android/org/java_websocket/exceptions/NotSendableException.java" target-dir="src/org/java_websocket/exceptions" />
<source-file src="src/android/org/java_websocket/exceptions/WebsocketNotConnectedException.java" target-dir="src/org/java_websocket/exceptions" />

<source-file src="src/android/org/java_websocket/framing/CloseFrame.java" target-dir="src/org/java_websocket/framing" />
<source-file src="src/android/org/java_websocket/framing/CloseFrameBuilder.java" target-dir="src/org/java_websocket/framing" />
<source-file src="src/android/org/java_websocket/framing/FrameBuilder.java" target-dir="src/org/java_websocket/framing" />
<source-file src="src/android/org/java_websocket/framing/Framedata.java" target-dir="src/org/java_websocket/framing" />
<source-file src="src/android/org/java_websocket/framing/FramedataImpl1.java" target-dir="src/org/java_websocket/framing" />

<source-file src="src/android/org/java_websocket/handshake/ClientHandshake.java" target-dir="src/org/java_websocket/handshake" />
<source-file src="src/android/org/java_websocket/handshake/ClientHandshakeBuilder.java" target-dir="src/org/java_websocket/handshake" />
<source-file src="src/android/org/java_websocket/handshake/HandshakeBuilder.java" target-dir="src/org/java_websocket/handshake" />
<source-file src="src/android/org/java_websocket/handshake/Handshakedata.java" target-dir="src/org/java_websocket/handshake" />
<source-file src="src/android/org/java_websocket/handshake/HandshakedataImpl1.java" target-dir="src/org/java_websocket/handshake" />
<source-file src="src/android/org/java_websocket/handshake/HandshakeImpl1Client.java" target-dir="src/org/java_websocket/handshake" />
<source-file src="src/android/org/java_websocket/handshake/HandshakeImpl1Server.java" target-dir="src/org/java_websocket/handshake" />
<source-file src="src/android/org/java_websocket/handshake/ServerHandshake.java" target-dir="src/org/java_websocket/handshake" />
<source-file src="src/android/org/java_websocket/handshake/ServerHandshakeBuilder.java" target-dir="src/org/java_websocket/handshake" />

<source-file src="src/android/org/java_websocket/server/DefaultSSLWebSocketServerFactory.java" target-dir="src/org/java_websocket/server" />
<source-file src="src/android/org/java_websocket/server/DefaultWebSocketServerFactory.java" target-dir="src/org/java_websocket/server" />
<source-file src="src/android/org/java_websocket/server/WebSocketServer.java" target-dir="src/org/java_websocket/server" />

<source-file src="src/android/org/java_websocket/util/Base64.java" target-dir="src/org/java_websocket/util" />
<source-file src="src/android/org/java_websocket/util/Charsetfunctions.java" target-dir="src/org/java_websocket/util" />

<source-file src="src/android/com/ququplay/websocket/CordovaClient.java" target-dir="src/com/ququplay/websocket" />
<source-file src="src/android/com/ququplay/websocket/InsecureX509TrustManager.java" target-dir="src/com/ququplay/websocket" />
<source-file src="src/android/com/ququplay/websocket/WebSocket.java" target-dir="src/com/ququplay/websocket" />
<source-file src="src/android/com/ququplay/websocket/Utils.java" target-dir="src/com/ququplay/websocket" />


<!-- end of WebSocket files -->
</platform>
</plugin>
Loading

0 comments on commit 991c9fa

Please sign in to comment.