Skip to content

Commit d19c0d1

Browse files
committed
Added LICENSE.
1 parent 7613d51 commit d19c0d1

File tree

2 files changed

+40
-4
lines changed

2 files changed

+40
-4
lines changed

LICENSE.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Copyright (c) 2014, The WebRTC project authors. All rights reserved.
2+
3+
Redistribution and use in source and binary forms, with or without
4+
modification, are permitted provided that the following conditions are
5+
met:
6+
7+
* Redistributions of source code must retain the above copyright
8+
notice, this list of conditions and the following disclaimer.
9+
10+
* Redistributions in binary form must reproduce the above copyright
11+
notice, this list of conditions and the following disclaimer in
12+
the documentation and/or other materials provided with the
13+
distribution.
14+
15+
* Neither the name of Google nor the names of its contributors may
16+
be used to endorse or promote products derived from this software
17+
without specific prior written permission.
18+
19+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
# iosrtc-apprtc
55

6-
Google's [AppRTC](https://github.com/webrtc/apprtc) running in Cordova iOS with HTML5 and [cordova-plugin-iosrtc](https://github.com/eface2face/cordova-plugin-iosrtc).
6+
Google's [AppRTC](https://apprtc.appspot.com/) adapted to [Cordova](http://cordova.apache.org/) iOS with pure HTML5/JavaScript and [cordova-plugin-iosrtc](https://github.com/eface2face/cordova-plugin-iosrtc).
77

8-
This project takes the HTML5 version of the [AppRTC](https://apprtc.appspot.com/) application and runs it in Cordova iOS (iPhone, iPad...) by using the [cordova-plugin-iosrtc](https://github.com/eface2face/cordova-plugin-iosrtc).
8+
This project takes the [HTML5 version](https://github.com/webrtc/apprtc/tree/master/src/web_app) of the *AppRTC* application and runs it in Cordova iOS (iPhone, iPad...) by using the [cordova-plugin-iosrtc](https://github.com/eface2face/cordova-plugin-iosrtc) to provide the [WebRTC W3C JavaScript APIs](http://www.w3.org/TR/webrtc/).
99

1010

1111
## Building
@@ -30,7 +30,7 @@ And run as usual.
3030
Once running, enter the same room as one already created via web browser at https://apprtc.appspot.com/, and enjoy!
3131

3232

33-
## Changes in the original AppRTC HTML5 code
33+
## Changes to the original AppRTC HTML5 code
3434

3535
There are minor changes in the original HTML, JavaScript and CSS in order to make it work as a Cordova application. Those changes are:
3636

@@ -40,6 +40,13 @@ There are minor changes in the original HTML, JavaScript and CSS in order to mak
4040

4141
* Given that the video stream is not directly attached to the `<video>` element (the *cordova-plugin-iosrtc* places a native `UIView` on top of it) the video `readyState` property is always 0, so the function `waitForRemoteVideo_` has been modified not to rely on `remoteVideo_.readyState >= 2`.
4242

43-
* In order to correctly place video views (iOS native `UIView` elements) the plugin `refreshVideos()` is called when the local or video video is set (this is because the CSS video elements use "transition" effects that modify their position and size during 1 second).
43+
* In order to correctly place video views (iOS native `UIView` elements) the plugin `refreshVideos()` function is called when the local or remote video is set (this is because the CSS video elements use "transition" effects that modify their position and size during 1 second).
4444

4545
* A new CSS file `css/main_overrides.css` changes the properties of video elements. For example, it sets `opacity: 0.85` in `#local-video` and `#remote-video` so HTML call controls are shown even below the native `UIView` elements rendering the local and remote video.
46+
47+
48+
## Author
49+
50+
*AppRTC* code is owned by Google as stated in the original [LICENSE](LICENSE.md) file.
51+
52+
Changes to the original *AppRTC* HTML5 source code (to become a Cordova iOS application) are written by Iñaki Baz Castillo at [eFace2Face, inc.](https://eface2face.com).

0 commit comments

Comments
 (0)