forked from sipml5/sipml5
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds support for BFCP (requires webrtc4all) Fix SDP parsing issue on FF 35.05 (https://groups.google.com/forum/#!topic/doubango/xMd8DV-_pbs) Fix Hold/Resume issue on Chrome (Still not working for FF 35.05 as PeerConnection.removeStream() not implemented by Mozilla yet) Add API functions to mute/unmute audio and video streams git-svn-id: http://sipml5.googlecode.com/svn/trunk@222 63d8a0da-676c-2731-e3aa-b417aa27da68
- Loading branch information
Bossiel Thioriguel
committed
Dec 11, 2014
1 parent
0b9ccb5
commit 89bac5e
Showing
103 changed files
with
1,465 additions
and
539 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<!DOCTYPE html> | ||
<!-- | ||
* Copyright (C) 2012 Doubango Telecom <http://www.doubango.org> | ||
* License: BSD | ||
* This file is part of Open Source sipML5 solution <http://www.sipml5.org> | ||
--> | ||
<!DOCTYPE html> | ||
<!-- | ||
* Copyright (C) 2012-2015 Doubango Telecom <http://www.doubango.org> | ||
* License: BSD | ||
* This file is part of Open Source sipML5 solution <http://www.sipml5.org> | ||
--> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
|
@@ -20,8 +20,8 @@ | |
padding-top: 80px; | ||
padding-bottom: 40px; | ||
} | ||
tr.spaceUnder > td { | ||
padding-bottom: 2em; | ||
tr.spaceUnder > td { | ||
padding-bottom: 2em; | ||
} | ||
</style> | ||
<link href="./assets/css/bootstrap-responsive.css" rel="stylesheet" /> | ||
|
@@ -53,9 +53,9 @@ | |
<a class="brand" target=_blank href="http://doubango.org">Doubango Telecom</a> | ||
<div class="nav-collapse"> | ||
<ul class="nav"> | ||
<li class="active"><a href="index.html?svn=224">Home</a></li> | ||
<li class="active"><a href="index.html?svn=222">Home</a></li> | ||
<li><a href="http://code.google.com/p/sipml5/source/checkout" target="_blank">Source code</a></li> | ||
<li><a href="docgen/index.html?svn=224">Programmer's Guide</a></li> | ||
<li><a href="docgen/index.html?svn=222">Programmer's Guide</a></li> | ||
<li><a href="contact.htm">Contact</a></li> | ||
</ul> | ||
</div><!--/.nav-collapse --> | ||
|
@@ -71,7 +71,7 @@ <h2>World's first HTML5 SIP client</h2> | |
<p>This is the world's first open source (<a target=_blank href="http://opensource.org/licenses/BSD-3-Clause">BSD license</a>) HTML5 SIP client entirely written in javascript for integration in social networks (FaceBook, Twitter, Google+), online games, e-commerce websites, email signatures... No extension, plugin or gateway is needed. The media stack rely on <a href="http://en.wikipedia.org/wiki/WebRTC" target="_blank">WebRTC</a>.<br /> | ||
The client can be used to connect to any SIP or IMS network from your preferred browser to make and receive audio/video calls and instant messages.<br /> | ||
</p> | ||
<p><a class="btn btn-primary btn-large" href="call.htm?svn=224" target="_blank">Enjoy our live demo »</a></p> | ||
<p><a class="btn btn-primary btn-large" href="call.htm?svn=222" target="_blank">Enjoy our live demo »</a></p> | ||
</div> | ||
|
||
|
||
|
@@ -81,7 +81,7 @@ <h2>World's first HTML5 SIP client</h2> | |
<tr><td><h2><a name="aSipSdpStack">Javascript SIP/SDP stack</a></h2></td></tr> | ||
<tr class="spaceUnder"><td> | ||
<p>The SIP and SDP stacks (<b>~1 Mo</b>) are entirely written in javascript and the network transport uses WebSockets as per <a href="http://tools.ietf.org/html/draft-ibc-sipcore-sip-websocket">draft-ibc-sipcore-sip-websocket</a>. | ||
The <a href="call.htm?svn=224" target="_blank">live demo</a> doesn't require any installation and can be used to connect to any SIP server using UDP, TCP or TLS transports. | ||
The <a href="call.htm?svn=222" target="_blank">live demo</a> doesn't require any installation and can be used to connect to any SIP server using UDP, TCP or TLS transports. | ||
</p> | ||
<p>Short but not exhaustive list of supported features:</p> | ||
<ul> | ||
|
@@ -144,23 +144,23 @@ <h2>World's first HTML5 SIP client</h2> | |
No need to know how SIP work to start writing your code. Using this <a href="docgen/index.html">API</a>, it will be a piece of cake to write HTML5 VoIP applications. <br /> | ||
Below, a very compact code showing how to initialize the engine, start the stack and make video call from <i>bob</i> to <i>alice</i> in <b>less than 15 lines</b>: | ||
</p> | ||
<pre><code> | ||
<a href="docgen/symbols/SIPml.html#.init">SIPml.init</a>( | ||
function(e){ | ||
var stack = new <a href="docgen/symbols/SIPml.Stack.html#constructor">SIPml.Stack</a>({realm: 'example.org', impi: 'bob', impu: 'sip:[email protected]', password: 'mysecret', | ||
events_listener: { events: 'started', listener: function(<a href="docgen/symbols/SIPml.Stack.Event.html">e</a>){ | ||
var callSession = stack.<a href="docgen/symbols/SIPml.Stack.html#newSession">newSession</a>('call-audiovideo', { | ||
video_local: document.getElementById('video-local'), // <video id="video-local" .../> | ||
video_remote: document.getElementById('video-remote'), // <video id="video-remote" .../> | ||
audio_remote: document.getElementById('audio-remote') // <audio id="audio-remote" .../> | ||
}); | ||
callSession.<a href="docgen/symbols/SIPml.Session.Call.html#call">call</a>('alice'); | ||
} | ||
} | ||
}); | ||
stack.<a href="docgen/symbols/SIPml.Stack.html#start">start</a>(); | ||
} | ||
); | ||
<pre><code> | ||
<a href="docgen/symbols/SIPml.html#.init">SIPml.init</a>( | ||
function(e){ | ||
var stack = new <a href="docgen/symbols/SIPml.Stack.html#constructor">SIPml.Stack</a>({realm: 'example.org', impi: 'bob', impu: 'sip:[email protected]', password: 'mysecret', | ||
events_listener: { events: 'started', listener: function(<a href="docgen/symbols/SIPml.Stack.Event.html">e</a>){ | ||
var callSession = stack.<a href="docgen/symbols/SIPml.Stack.html#newSession">newSession</a>('call-audiovideo', { | ||
video_local: document.getElementById('video-local'), // <video id="video-local" .../> | ||
video_remote: document.getElementById('video-remote'), // <video id="video-remote" .../> | ||
audio_remote: document.getElementById('audio-remote') // <audio id="audio-remote" .../> | ||
}); | ||
callSession.<a href="docgen/symbols/SIPml.Session.Call.html#call">call</a>('alice'); | ||
} | ||
} | ||
}); | ||
stack.<a href="docgen/symbols/SIPml.Stack.html#start">start</a>(); | ||
} | ||
); | ||
</code></pre> | ||
</td></tr> | ||
</table> | ||
|
@@ -185,16 +185,16 @@ <h2>World's first HTML5 SIP client</h2> | |
<td align="center"><i>Call between Google Chrome and iPad device</i></td> | ||
<td align="center"><i>Call between Google Chrome and Android device</i></td> | ||
</tr> | ||
</table> | ||
|
||
<hr /> | ||
<g:plus href="https://plus.google.com/107177632824809995368" rel="author"></g:plus> <br /> | ||
<a href="https://twitter.com/DoubangoTelecom" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @DoubangoTelecom</a> | ||
<hr /> | ||
<footer> | ||
<p> | ||
© Doubango Telecom 2012-2013</p> | ||
<i>Inspiring the future</i> | ||
</table> | ||
|
||
<hr /> | ||
<g:plus href="https://plus.google.com/107177632824809995368" rel="author"></g:plus> <br /> | ||
<a href="https://twitter.com/DoubangoTelecom" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @DoubangoTelecom</a> | ||
<hr /> | ||
<footer> | ||
<p> | ||
© Doubango Telecom 2012-2014</p> | ||
<i>Inspiring the future</i> | ||
</footer> | ||
</div> <!-- /container --> | ||
|
||
|
@@ -216,18 +216,18 @@ <h2>World's first HTML5 SIP client</h2> | |
<script type="text/javascript" src="./assets/js/bootstrap-typeahead.js"></script> | ||
|
||
<!-- click-to-call widget --> | ||
<script type='text/javascript' src='http://click2dial.org/c2c-api.js'></script> | ||
<script type='text/javascript'> | ||
c2c.from = 'ZGlvcG1hbWFkb3VAZG91YmFuZ28ub3Jn'; | ||
c2c.text = 'call us »'; | ||
c2c.cls = 'btn btn-large btn-success'; | ||
c2c.glass = true; | ||
c2c.config = { | ||
http_service_url: null, | ||
websocket_proxy_url: null, | ||
sip_outbound_proxy_url: null | ||
}; | ||
c2c.init(); | ||
<script type='text/javascript' src='http://click2dial.org/c2c-api.js'></script> | ||
<script type='text/javascript'> | ||
c2c.from = 'ZGlvcG1hbWFkb3VAZG91YmFuZ28ub3Jn'; | ||
c2c.text = 'call us »'; | ||
c2c.cls = 'btn btn-large btn-success'; | ||
c2c.glass = true; | ||
c2c.config = { | ||
http_service_url: null, | ||
websocket_proxy_url: null, | ||
sip_outbound_proxy_url: null | ||
}; | ||
c2c.init(); | ||
</script> | ||
|
||
<!-- GOOGLE ANALYTICS --> | ||
|
@@ -243,7 +243,7 @@ <h2>World's first HTML5 SIP client</h2> | |
} catch (err) { } | ||
</script> | ||
|
||
<!-- TWITTER --> | ||
<!-- TWITTER --> | ||
<script type='text/javascript'>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> | ||
|
||
</body> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.