Skip to content

Commit

Permalink
Change API version to 1.5.222
Browse files Browse the repository at this point in the history
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
Show file tree
Hide file tree
Showing 103 changed files with 1,465 additions and 539 deletions.
4 changes: 2 additions & 2 deletions SIPml-api.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2012 Doubango Telecom <http://www.doubango.org>
* 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>
*/
Expand All @@ -12,7 +12,7 @@ var tag_hdr = document.getElementsByTagName('head')[0];
['SIPml.js', 'src/tinySIP/src/tsip_api.js'].forEach(function (file) {
var tag_script = document.createElement('script');
tag_script.setAttribute('type', 'text/javascript');
tag_script.setAttribute('src', file + "?svn=224");
tag_script.setAttribute('src', file + "?svn=222");
tag_hdr.appendChild(tag_script);
});
if (window.console) {
Expand Down
196 changes: 185 additions & 11 deletions SIPml.js

Large diffs are not rendered by default.

210 changes: 169 additions & 41 deletions call.htm

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions contact.htm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<!--
* Copyright (C) 2012 Doubango Telecom <http://www.doubango.org>
* 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>
-->
Expand Down Expand Up @@ -85,12 +85,12 @@
<hr />
<footer>
<p>
&copy; Doubango Telecom 2012-2013</p>
&copy; Doubango Telecom 2012-2015</p>
<i>Inspiring the future</i>
</footer>
</div>

<!-- click-to-call widget -->
<!-- click-to-call widget -->
<script type='text/javascript' src='http://click2dial.org/c2c-api.js'></script>
<script type='text/javascript'>
c2c.from = 'ZGlvcG1hbWFkb3VAZG91YmFuZ28ub3Jn';
Expand Down
12 changes: 6 additions & 6 deletions docgen.index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
<html>
<!-- head -->
<head>
<meta charset="utf-8" />
<title>sipML5 Programmer's guide</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta charset="utf-8" />
<title>sipML5 Programmer's guide</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="Keywords" content="doubango, sipML5, VoIP, HTML5, WebRTC, RTCWeb, SIP, IMS, Video chat, VP8, live demo " />
<meta name="Description" content="HTML5 SIP client using WebRTC framework" />
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="Description" content="HTML5 SIP client using WebRTC framework" />
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="author" content="Doubango Telecom" />

<!-- Styles -->
Expand Down Expand Up @@ -43,7 +43,7 @@
<a class="brand" href="./index.html">Doubango Telecom</a>
<div class="nav-collapse">
<ul class="nav">
<li><a href="../index.html?svn=224">Home</a></li>
<li><a href="../index.htmlsvn=236">Home</a></li>
</ul>
</div>
<!--/.nav-collapse -->
Expand Down
2 changes: 1 addition & 1 deletion error.htm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<!--
* Copyright (C) 2012 Doubango Telecom <http://www.doubango.org>
* 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>
-->
Expand Down
6 changes: 3 additions & 3 deletions expert.htm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<!--
* Copyright (C) 2012 Doubango Telecom <http://www.doubango.org>
* 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>
-->
Expand All @@ -23,8 +23,8 @@
</style>
<link href="./assets/css/bootstrap-responsive.css" rel="stylesheet" />
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="./assets/ico/favicon.ico" />
Expand Down
104 changes: 52 additions & 52 deletions index.html
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" />
Expand All @@ -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" />
Expand Down Expand Up @@ -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 -->
Expand All @@ -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 &raquo;</a></p>
<p><a class="btn btn-primary btn-large" href="call.htm?svn=222" target="_blank">Enjoy our live demo &raquo;</a></p>
</div>


Expand All @@ -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>
Expand Down Expand Up @@ -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'), // &lt;video id="video-local" .../&gt;
video_remote: document.getElementById('video-remote'), // &lt;video id="video-remote" .../&gt;
audio_remote: document.getElementById('audio-remote') // &lt;audio id="audio-remote" .../&gt;
});
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'), // &lt;video id="video-local" .../&gt;
video_remote: document.getElementById('video-remote'), // &lt;video id="video-remote" .../&gt;
audio_remote: document.getElementById('audio-remote') // &lt;audio id="audio-remote" .../&gt;
});
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>
Expand All @@ -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>
&copy; 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>
&copy; Doubango Telecom 2012-2014</p>
<i>Inspiring the future</i>
</footer>
</div> <!-- /container -->

Expand All @@ -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 &raquo;';
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 &raquo;';
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 -->
Expand All @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions release.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/bash

#
# Copyright (C) 2012-2014 Doubango Telecom <http://www.doubango.org>
# 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>
#

API_VERSION=1.4.217
API_VERSION=1.5.222
API_FOLDER_NAME=release
API_FILE_NAME=SIPml-api.js
API_FILE_PATH=$API_FOLDER_NAME/$API_FILE_NAME
Expand Down
4 changes: 2 additions & 2 deletions release/SIPml-api.js

Large diffs are not rendered by default.

Loading

0 comments on commit 89bac5e

Please sign in to comment.