Replace the Netflux old client (netflux.js) by the Netflux2 client.
Move the WebRTC peer-to-peer use case in /padrtc, which still uses the old Netflux client Use es6-promises.min.js to solve a issue with some browser and the new Netflux client
This commit is contained in:
@@ -1342,6 +1342,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
||||
if (msg[0] !== 0 && msg[1] !== 'ACK') {
|
||||
return;
|
||||
}
|
||||
|
||||
if (msg[2] === 'IDENT' && msg[1] === '') {
|
||||
socket.uid = msg[3];
|
||||
webChannel.myID = msg[3];
|
||||
@@ -1401,7 +1402,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
||||
// Trigger onJoining() when another user is joining the channel
|
||||
// Register the user in the list of peers in the channel
|
||||
if (webChannel.peers.length === 0 && msg[1].length === 16) {
|
||||
// We've just catched the history keeper
|
||||
// We've just catched the history keeper (16 characters length name)
|
||||
history_keeper = msg[1];
|
||||
webChannel.hc = history_keeper;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user