#ChangeLog:
- [sdk] webrtc add voice call
- [sdk] webrtc:Firefox error while close call
- [sdk] webrtc:logical error after multitimes connection and close
- [sdk] webrtc:shoud not warning offline after normal close
- [sdk] webrtc:can't handle IQ message after reconnect
- [sdk] fix a bug in success/error callback
- [demo] Add a mute button to the video chat window
- [demo] Create a chat window automaticly
- [demo] Hide the chat window when switch a cate in leftbar
- [demo] Not back to the login page when refresh the webpage if login succeed
- [sdk] Remove all of the log methods
- [sdk] Send an unavailable presence stanza when leave a group
- [demo] Add video chat and send video file functions into the demo.html
- [sdk] Fix the bug when the browser runs in back end that WebIM can't reconnect on phones
- [demo] Refresh the group list on the front end after create a group succeed on back end
- [demo] The master of a group and the members will be added will receive a notification when add members to group
- [demo] A member will leave group when the master of the group remove this member from group black list
- add demo.html
- to decoupling from Demo namespaces, delete codes using Demo
- delete connection.prototype.createRoom, which is not supported by server
##v1.4.5 @ 2016-12-01
###Feature
-
GNU version number:
Major_Version_Number.Minor_Version_Number.Revision_Number
(new v1.4.5 = old v1.1.4.5) -
[demo] friends can video chat to each other (support https + Webkit only)
-
[demo] limite of a single user the number of opened tabs in the same browser
isMultiLoginSessions:true
-
[demo] while http access,use ip directly instead of ServerName,avoid DNS hijacking.
isHttpDNS:true
-
[sdk]
All classes can then be accessed via the WebIM namespace:
Demo.conn = new WebIM.connection({ isMultiLoginSessions: WebIM.config.isMultiLoginSessions, https: typeof WebIM.config.https === 'boolean' ? WebIM.config.https : location.protocol === 'https:', url: WebIM.config.xmppURL, isAutoLogin: false, heartBeatWait: WebIM.config.heartBeatWait, autoReconnectNumMax: WebIM.config.autoReconnectNumMax, autoReconnectInterval: WebIM.config.autoReconnectInterval });
- NPM
Hyphenate web SDK is also available on NPM:
npm install hyphenate-web
All classes can then be accessed by requiring the module:
require('hyphenate-web'); // ... Demo.conn = new WebIM.connection({ isMultiLoginSessions: WebIM.config.isMultiLoginSessions, https: typeof WebIM.config.https === 'boolean' ? WebIM.config.https : location.protocol === 'https:', url: WebIM.config.xmppURL, isAutoLogin: false, heartBeatWait: WebIM.config.heartBeatWait, autoReconnectNumMax: WebIM.config.autoReconnectNumMax, autoReconnectInterval: WebIM.config.autoReconnectInterval });