damencho
230b5745e9
Fire conference_left only if it is not a kick presence unavailable.
When we receive kick presence it is both 110 and 307 status code, so we were triggering both conference_left and kicked event. Now when we receive kick we process as it is 110 to clean participants and room and then fire the kick event.
9 лет назад
damencho
a2188ad5b7
Fixes leaving the room when only user and focus are present.
When only one participant is in the room and leaves(hangups) the only participant in members is focus.
9 лет назад
damencho
cbf2eebeec
Fires CONFERENCE_LEFT event once we receive our presence unavailable.
9 лет назад
damencho
31d22ef5b4
Adds not allowed errors and handling it.
9 лет назад
damencho
a40929464e
Skips passing presence to emitter as it is not used.
Skips passing presence, cause it can reach the UI and there was a bug where we tried to pass the presence as an argument to the translation and ended in endless loop.
9 лет назад
damencho
5169ec5213
Always saves password as we can make several room join attempts.
9 лет назад
paweldomas
b85602c90a
fix(xmpp.js): logic around constant MUC nicknames
9 лет назад
paweldomas
ee0431eb28
ref(xmpp.js): rename tmpJid to name what it really is
9 лет назад
hristoterezov
66bdeb6bf2
fix(xmpp.js): User id format
9 лет назад
Lyubomir Marinov
cda6bea41d
Fix createConnection broken in 9781a0d
The places of the two arguments of the function createConnection were
switched in the function definition but the call to the function
remained unchanged.
9 лет назад
hristoterezov
9781a0d63c
ref(module/xmpp): ES6 for modules/xmpp/xmpp.js and it's related files
9 лет назад
Lyubomir Marinov
f40b8957f4
ES6 for JitsiConnectionErrors
9 лет назад
Lyubomir Marinov
27840ba13a
ES6 for JitsiConnectionEvents
9 лет назад
Lyubomir Marinov
c435acd913
Enable ES6/ES2015
9 лет назад
paweldomas
448330cdbe
feat: enable lipsync by default
9 лет назад
paweldomas
6eeefd2ca8
fix(moderator): use 'enableLipSync' from the connection options
Because the flag is required in the connection options anyway it will
be better to use it from one options set only to avoid redundancy.
9 лет назад
paweldomas
a51feba392
feat(XMPPEvents): add CALL_ENDED event
The event is triggered when Jicofo sends 'session-terminate' and our
PeerConnection is closed.
9 лет назад
Sam Whited
0654cc0ebb
MUC update message should be from bare room JID
9 лет назад
Sam Whited
7f684b5c7a
Put event forwarder in the right scope
Fix broken variable
9 лет назад
Sam Whited
b6c887a812
Don't use ES6 syntax
9 лет назад
Sam Whited
ec34cf48a2
Add events for lock icon update
9 лет назад
hristoterezov
733c968004
Removes unused code after reloads removal
9 лет назад
damencho
c2f9844a3c
Uses logger instead of console.log.
9 лет назад
damencho
0cd1118ffb
Surrounds code in successcallback with try/catch and call errorcallback on exception.
If there is a problem with ssrc in successcallback of peerconnection create answer, no callback is called as a result of execution TraceablePeerConnection.createAnswer.
9 лет назад
damencho
234f3384e1
Moves loading of analytics in the library.
9 лет назад
paweldomas
30c7739899
Avoid 'session-accept' timeout
Do not flush the connection after 'session-accept'
is queued to avoid BOSH race condition issue.
9 лет назад
paweldomas
7f6a5dd415
Reload the conference on 'session-accept' timeout
This is an unrecoverable error and in current state of
the system reload in the client is the least complex
thing to do.
9 лет назад
damencho
2f93ae15e1
Adds analytics events for connection times.
Moves render time calculations in the library.
9 лет назад
damencho
0e49f7b92f
Throws an exception when strophe plugins are missing.
9 лет назад
damencho
11f0cef3a3
Handles videoType from last received presence.
Handles the case where we can receive the presence with the video type before we have received and created the remote track.
9 лет назад
damencho
2efb7f64af
Avoids sending presence when kicked and room is left.
9 лет назад
paweldomas
43e46336d0
Send 'useRoomAsSharedDocumentName' option to Jicofo
9 лет назад
damencho
709f12f533
Uses the empty element with namespace for initial presence.
Fixes a problem where, sending that namespace on every presence will make the server think we are joining every time and will return us the message history for the muc.
9 лет назад
hristoterezov
b1e4c8debe
Fixes issues after review PR #166
9 лет назад
Devin Wilson
35ce33da81
Add config.hosts.domain to the callstats id
9 лет назад
damencho
339c472dcd
Fixes few issues with kicking participant.
If in the presence there is 110 and 307 status codes there was an error in processing. When kicked the other participants were not cleared from the conference. Firing an event for focus leaving the conference when we are kicked.
9 лет назад
damencho
3699c741dd
Removes variable not present in the code anymore.
9 лет назад
paweldomas
5aa32d2d00
Prefer main domain if 'token' option was specified
9 лет назад
hristoterezov
0e6a1073c8
Fixes JS error
9 лет назад
hristoterezov
e862d165d7
Fixes JS error when sends JingleSessionPC errors to callstats
9 лет назад
hristoterezov
824169f659
Tries to fix issue with not recognized focus participant on reload
9 лет назад
Boris Grozev
68b1eb7912
Logs the ICE ufrags to callstats.
9 лет назад
paweldomas
d62ad1c2fd
Not disconnect on 3rd PING failure
9 лет назад
paweldomas
5db491c6f1
Log PING failure on error level starting from the 3rd
9 лет назад
paweldomas
dbc3368c6b
No longer log Strophe's secondary timeouts as errors
9 лет назад
paweldomas
9e58ec6bcf
Add RETRYING Jibri status
9 лет назад
paweldomas
2493791059
Append random hex string to MUC nickname with XMPP login
9 лет назад
hristoterezov
6ca2c62090
Reloads JitsiConnection on prosody or jicofo restart
9 лет назад
hristoterezov
0449071f89
Implements JitsiConnection.reload. Minor fixes related to JitsiConference.reload.
9 лет назад
Boris Grozev
8c3f7084b7
Fixes a bug added in 0f40e2efd4f3c75c31ada99df7e3f4edd3b2fe8a.
9 лет назад