Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sarandogou committed Jul 23, 2014
0 parents commit 5e53579
Show file tree
Hide file tree
Showing 681 changed files with 125,528 additions and 0 deletions.
1 change: 1 addition & 0 deletions AStyle.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
thirdparties/win32/bin/AStyle.exe --style=k/r --lineend=linux --mode=c --add-brackets --break-closing-brackets --recursive "*.c" "*.cc" "*.h"
27 changes: 27 additions & 0 deletions LICENSE-BSD
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.

* Neither the name of Google nor the names of its contributors may
be used to endorse or promote products derived from this software
without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
674 changes: 674 additions & 0 deletions LICENSE-GPL3

Large diffs are not rendered by default.

55 changes: 55 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
**webrtc-everywhere** is an open source project (with **business-friendly** <a href="#license">license</a>) to add support for WebRTC features to Safari (Windows and MAC OSX) and Internet Explorer (Windows).

# Downloads
Version **1.0.1**:
- <a href="https://ns313841.ovh.net/webrtc/webrtc-everywhere-i386-10.4.dmg" target="_blank">MAC OSX</a>
- <a href="https://ns313841.ovh.net/webrtc/setup.exe" target="_blank">Windows</a>

# Online samples
The following samples use our <a href="https://github.com/sarandogou/webrtc/blob/master/samples/web/js/adapter.js" target="_blank">adapter.js</a> and could be tested on Safari and Internet Explorer (off course they also work on Firefox and Chrome):
- <a href="https://ns313841.ovh.net/webrtc/samples/web/content/getusermedia" target="_blank">getUserMedia()</a>
- <a href="https://ns313841.ovh.net/webrtc/samples/web/content/getusermedia-resolution" target="_blank">Choose camera resolution</a>
- <a href="https://ns313841.ovh.net/webrtc/samples/web/content/getusermedia-source" target="_blank">Choose camera and microphone</a>
- <a href="https://ns313841.ovh.net/webrtc/samples/web/content/getusermedia-audio" target="_blank">Audio-only getUserMedia() output to local audio element</a>
- <a href="https://ns313841.ovh.net/webrtc/samples/web/content/peerconnection" target="_blank">Peer connection</a>
- <a href="https://ns313841.ovh.net/webrtc/samples/web/content/peerconnection-audio" target="_blank">Audio-only peer connection</a>
- <a href="https://ns313841.ovh.net/webrtc/samples/web/content/multiple" target="_blank">Multiple peer connections</a>
- <a href="https://ns313841.ovh.net/webrtc/samples/web/content/multiple-relay" target="_blank">Multiple relay</a>
- <a href="https://ns313841.ovh.net/webrtc/samples/web/content/munge-sdp" target="_blank">Munge SDP</a>
- <a href="https://ns313841.ovh.net/webrtc/samples/web/content/pr-answer" target="_blank">Accept incoming peer connection</a>
- <a href="https://ns313841.ovh.net/webrtc/samples/web/content/peerconnection-states" target="_blank">Peer connection states</a>
- <a href="https://ns313841.ovh.net/webrtc/samples/web/content/constraints" target="_blank">Constraints and stats</a>
- <a href="https://ns313841.ovh.net/webrtc/samples/web/content/create-offer" target="_blank">Display createOffer output</a>
- <a href="https://ns313841.ovh.net/webrtc/samples/web/content/trickle-ice" target="_blank">ICE candidate gathering</a>

next #2 samples work but are toooo sloooow (to be fixed):
- <a href="https://ns313841.ovh.net/webrtc/samples/web/content/getusermedia-canvas" target="_blank">getUserMedia() + Canvas</a>
- <a href="https://ns313841.ovh.net/webrtc/samples/web/content/getusermedia-filter" target="_blank">getUserMedia() + Canvas + CSS filters</a>

# Using our plugin in your own project
- Download and install the plugin for <a href="https://ns313841.ovh.net/webrtc/webrtc-everywhere-i386-10.4.dmg" target="_blank">MAC OSX</a> or <a href="https://ns313841.ovh.net/webrtc/setup.exe" target="_blank">Windows</a>
- Include <a href="https://github.com/sarandogou/webrtc/blob/master/samples/web/js/adapter.js" target="_blank">adapter.js</a> in your code.
- Change the code you're using to attach a stream to a &lt;audio/&gt; or &lt;video /&gt; HTML5 element: <br />
from:
```
document.getElementById("eltId").src = mediaStream;
```
<br /> to:
```
attachMediaStream(document.getElementById("eltId"), mediaStream);
```

# Building source code
To build the source code you'll need Visual Studio 2013 (Windows) or Xcode (MAC OSX).
... to be continued

# Release notes
- **1.0.1**
- Initial release **without** support for DataChannel

# License
- Binaries and installers: All binaries and installers **from us** are released under **BSD** terms to allow using the project in your commercial products.
- The source code: **GPLv3**

# Getting help
The best way to get help is via our <a href="https://groups.google.com/forum/#!forum/webrtc-everywhere" target="_blank">dev-group</a>.
Loading

0 comments on commit 5e53579

Please sign in to comment.