Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
git-svn-id: http://sipml5.googlecode.com/svn/trunk@230 63d8a0da-676c-2731-e3aa-b417aa27da68
  • Loading branch information
Bossiel Thioriguel committed Mar 18, 2015
1 parent a336b01 commit bae0292
Show file tree
Hide file tree
Showing 12 changed files with 29 additions and 18 deletions.
2 changes: 1 addition & 1 deletion SIPml-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -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=229");
tag_script.setAttribute('src', file + "?svn=230");
tag_hdr.appendChild(tag_script);
});
if (window.console) {
Expand Down
2 changes: 1 addition & 1 deletion call.htm
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
DEBUG VERSION: 'SIPml-api.js'
RELEASE VERSION: 'release/SIPml-api.js'
-->
<script src="SIPml-api.js?svn=229" type="text/javascript"> </script>
<script src="SIPml-api.js?svn=230" type="text/javascript"> </script>

<!-- Styles -->
<link href="./assets/css/bootstrap.css" rel="stylesheet" />
Expand Down
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
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=228">Home</a></li>
<li class="active"><a href="index.html?svn=230">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=228">Programmer's Guide</a></li>
<li><a href="docgen/index.html?svn=230">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=228" target="_blank">Enjoy our live demo &raquo;</a></p>
<p><a class="btn btn-primary btn-large" href="call.htm?svn=230" 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=228" 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=230" 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
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# This file is part of Open Source sipML5 solution <http://www.sipml5.org>
#

API_VERSION=1.5.229
API_VERSION=1.5.230
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.

2 changes: 1 addition & 1 deletion release/call.htm
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
DEBUG VERSION: 'SIPml-api.js'
RELEASE VERSION: 'release/SIPml-api.js'
-->
<script src="SIPml-api.js?svn=229" type="text/javascript"> </script>
<script src="SIPml-api.js?svn=230" type="text/javascript"> </script>

<!-- Styles -->
<link href="./assets/css/bootstrap.css" rel="stylesheet" />
Expand Down
8 changes: 4 additions & 4 deletions release/index.html
Original file line number Diff line number Diff line change
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=228">Home</a></li>
<li class="active"><a href="index.html?svn=230">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=228">Programmer's Guide</a></li>
<li><a href="docgen/index.html?svn=230">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=228" target="_blank">Enjoy our live demo &raquo;</a></p>
<p><a class="btn btn-primary btn-large" href="call.htm?svn=230" 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=228" 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=230" 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
2 changes: 1 addition & 1 deletion src/tinyMEDIA/src/tmedia_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function tmedia_api_add_js_scripts(s_elt) {
for (var i = 1; i < arguments.length; ++i) {
var tag_script = document.createElement('script');
tag_script.setAttribute('type', 'text/javascript');
tag_script.setAttribute('src', arguments[i] + "?svn=229");
tag_script.setAttribute('src', arguments[i] + "?svn=230");
tag_hdr.appendChild(tag_script);
}
};
Expand Down
11 changes: 11 additions & 0 deletions src/tinyMEDIA/src/tmedia_session_jsep.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,13 @@ tmedia_session_jsep.prototype.decorate_lo = function () {
if ((o_hdr_S = this.o_sdp_lo.get_header(tsdp_header_type_e.S))) {
o_hdr_S.s_value = "Doubango Telecom - " + tsk_utils_get_navigator_friendly_name();
}
/* HACK: https://bugzilla.mozilla.org/show_bug.cgi?id=1072384 */
var o_hdr_O;
if ((o_hdr_O = this.o_sdp_lo.get_header(tsdp_header_type_e.O))) {
if (o_hdr_O.s_addr === "0.0.0.0") {
o_hdr_O.s_addr = "127.0.0.1";
}
}

/* Remove 'video' media if not enabled (bug in chrome: doesn't honor 'has_video' parameter) */
if (/*!this.o_sdp_ro &&*/!(this.e_type.i_id & tmedia_type_e.VIDEO.i_id)) {
Expand All @@ -197,6 +204,10 @@ tmedia_session_jsep.prototype.decorate_lo = function () {
o_hdr_M.s_proto = "UDP/TLS/RTP/SAVPF";
}
}
// HACK: https://bugzilla.mozilla.org/show_bug.cgi?id=1072384
if (o_hdr_M.o_hdr_C && o_hdr_M.o_hdr_C.s_addr === "0.0.0.0") {
o_hdr_M.o_hdr_C.s_addr = "127.0.0.1";
}

// bandwidth
if(this.o_bandwidth) {
Expand Down
2 changes: 1 addition & 1 deletion src/tinySAK/src/tsk_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function tsk_api_add_js_script(s_elt) {
for (var i = 1; i < arguments.length; ++i) {
var tag_script = document.createElement('script');
tag_script.setAttribute('type', 'text/javascript');
tag_script.setAttribute('src', arguments[i] + "?svn=229");
tag_script.setAttribute('src', arguments[i] + "?svn=230");
tag_hdr.appendChild(tag_script);
}
};
Expand Down
2 changes: 1 addition & 1 deletion src/tinySDP/src/tsdp_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function tsdp_api_add_js_scripts(s_elt) {
for (var i = 1; i < arguments.length; ++i) {
var tag_script = document.createElement('script');
tag_script.setAttribute('type', 'text/javascript');
tag_script.setAttribute('src', arguments[i] + "?svn=229");
tag_script.setAttribute('src', arguments[i] + "?svn=230");
tag_hdr.appendChild(tag_script);
}
};
Expand Down
2 changes: 1 addition & 1 deletion src/tinySIP/src/tsip_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function tsip_api_add_js_scripts(s_elt) {
for (var i = 1; i < arguments.length; ++i) {
var tag_script = document.createElement('script');
tag_script.setAttribute('type', 'text/javascript');
tag_script.setAttribute('src', arguments[i] + "?svn=229");
tag_script.setAttribute('src', arguments[i] + "?svn=230");
tag_hdr.appendChild(tag_script);
}
};
Expand Down

0 comments on commit bae0292

Please sign in to comment.