Skip to content

Commit

Permalink
v0.7.3 release
Browse files Browse the repository at this point in the history
Signed-off-by: Valérian Saliou <valerian@valeriansaliou.name>
  • Loading branch information
valeriansaliou committed Jul 23, 2014
1 parent 45647ed commit 5b0913e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
6 changes: 0 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ JSJaCJingle.js Changelog
Here's the log of what has changed over the JSJaCJingle.js releases.


v0.8.0 (Development)
--------------------

* (...)


v0.7.3 (Jul 23, 2014)
---------------------

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jsjac-jingle",
"description": "JSJaC Jingle library, implementation of XEP-0166.",
"version": "0.8.0",
"version": "0.7.3",
"homepage": "https://github.com/valeriansaliou/jsjac-jingle",
"license": "MPL 2.0",

Expand Down
10 changes: 6 additions & 4 deletions src/jsjac.jingle.single.js
Original file line number Diff line number Diff line change
Expand Up @@ -2441,18 +2441,20 @@ var JSJaCJingleSingle = ring.create([__JSJaCJingleBase],
*/
this.get_peer_connection().oniceconnectionstatechange = function(data) {
switch(this.iceConnectionState) {
case JSJAC_JINGLE_ICE_CONNECTION_STATE_CONNECTED:
case JSJAC_JINGLE_ICE_CONNECTION_STATE_COMPLETED:
if(_this.get_last_ice_state() !== JSJAC_JINGLE_ICE_CONNECTION_STATE_COMPLETED) {
if(_this.get_last_ice_state() !== JSJAC_JINGLE_ICE_CONNECTION_STATE_CONNECTED) {
/* @function */
(_this.get_stream_connected()).bind(this)(_this, data);
_this._set_last_ice_state(JSJAC_JINGLE_ICE_CONNECTION_STATE_COMPLETED);
_this._set_last_ice_state(JSJAC_JINGLE_ICE_CONNECTION_STATE_CONNECTED);
} break;

case JSJAC_JINGLE_ICE_CONNECTION_STATE_DISCONNECTED:
case JSJAC_JINGLE_ICE_CONNECTION_STATE_CLOSED:
if(_this.get_last_ice_state() !== JSJAC_JINGLE_ICE_CONNECTION_STATE_CLOSED) {
if(_this.get_last_ice_state() !== JSJAC_JINGLE_ICE_CONNECTION_STATE_DISCONNECTED) {
/* @function */
(_this.get_stream_disconnected()).bind(this)(_this, data);
_this._set_last_ice_state(JSJAC_JINGLE_ICE_CONNECTION_STATE_CLOSED);
_this._set_last_ice_state(JSJAC_JINGLE_ICE_CONNECTION_STATE_DISCONNECTED);
} break;
}

Expand Down

0 comments on commit 5b0913e

Please sign in to comment.