Juliusz Chroboczek
aa71205fa2
Include username and id in group and user actions.
2020-11-30 20:04:58 +01:00
Juliusz Chroboczek
6040d1943c
Allow forwarding usermessages.
...
They now have the same format as chat messages; the only difference
is that they are not stored in the chat history.
Also adds userMessage method to ServerConnection.
Fix usermessages.
2020-11-30 14:39:36 +01:00
Juliusz Chroboczek
4911b7ad38
Buffer local ICE candidates.
...
Apparently, it is possible for an ICE candidate to be generated
before onnegotiationneeded triggers. Avoid losing a candidate
in that case.
2020-10-30 00:35:36 +01:00
Juliusz Chroboczek
66dd71678e
Implement private messages.
2020-10-01 16:59:09 +02:00
Juliusz Chroboczek
3bd9a1db4e
Timestamp chat messages.
2020-09-30 00:54:12 +02:00
Juliusz Chroboczek
480922268e
Some more tweaks to JS typing.
2020-09-29 18:16:54 +02:00
Juliusz Chroboczek
0aa77441bd
Improve typing of javascript code.
...
We now enable typing of sfu.js.
2020-09-20 17:25:41 +02:00
Juliusz Chroboczek
eab848f2cf
Add ability to receive nothing.
2020-09-18 20:09:52 +02:00
Juliusz Chroboczek
f8ae908d7a
Implement message for locked groups.
2020-09-18 11:40:00 +02:00
Juliusz Chroboczek
e824b93584
Improve error handling in ServerConnection.connect.
2020-09-18 11:28:13 +02:00
Juliusz Chroboczek
b2f01a528e
Fix URL in ServerConnection.connect.
2020-09-18 11:24:33 +02:00
Antonin Décimo
5ad4df5a45
Add missing semicolons.
2020-09-14 17:23:06 +02:00
Juliusz Chroboczek
7707775cca
Implement user-readable message for kick.
2020-09-12 12:26:07 +02:00
Juliusz Chroboczek
5c97e739a6
Implement activity detection.
2020-09-11 23:43:30 +02:00
Juliusz Chroboczek
8d9c3d7d1c
Add userdata field to ServerConnection and Stream.
2020-09-11 21:39:18 +02:00
Juliusz Chroboczek
346f93dd16
Maintain information about whether renegotiation is permitted.
...
Renegotiation is not correct when the stream is fresh, for example
after the user has switched the camera.
2020-09-10 01:33:23 +02:00
Juliusz Chroboczek
c0122c069e
Implement restartIce for older browsers.
2020-09-03 20:19:26 +02:00
Juliusz Chroboczek
a4b528e1e7
Implement onnegotiationcompleted callback.
2020-08-26 18:30:29 +02:00
Juliusz Chroboczek
fba0dded84
Type global variables in sfu.js.
2020-08-24 22:31:22 +02:00
Juliusz Chroboczek
8fbd16cc8c
Minor tweaks to error handling.
2020-08-19 14:39:40 +02:00
Juliusz Chroboczek
33bfb433f1
Mark async functions explicitly in protocol.js.
...
JSDoc doesn't recognise them otherwise.
2020-08-14 14:44:23 +02:00
Juliusz Chroboczek
7848822469
Minor type tightenings in protocol.js.
2020-08-14 14:36:29 +02:00
Juliusz Chroboczek
0102bdc128
Fix typo in gotAbort.
2020-08-13 20:11:21 +02:00
Juliusz Chroboczek
04b0951530
Fix fetching of ICE servers.
2020-08-13 15:45:19 +02:00
Juliusz Chroboczek
3e0bb08955
Split out the javascript protocol interface.
2020-08-13 12:21:29 +02:00