Marcel Hibbe
12cfd70a8a
check if existing websocket is Connected
...
+ refactoring
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-07-18 12:04:50 +02:00
Marcel Hibbe
e6a95d7190
fix typo in sessionId
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-07-13 16:02:55 +02:00
Marcel Hibbe
8f3a3570e9
Add logging for websockets
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-07-13 13:32:43 +02:00
Marcel Hibbe
39441ae075
Move setupWebsocket() to onAttach() in ChatController
...
Add toast warning for debug mode
Rename "magic" stuff
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-03-10 14:25:49 +01:00
Marcel Hibbe
a37edc4421
MagicWebSocketInstance.java -> WebSocketInstance.kt
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-01-31 15:55:09 +01:00
Andy Scherzinger
9ae722659f
Spotbugs: don't doubleCheck Map contains value, just check for null
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-12-29 11:37:19 +01:00
Daniel Calviño Sánchez
4086499a32
Remove special method to request offers
...
As the "requestoffer" message is just a signaling message the generic
method can be used instead.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-12-27 14:28:57 +01:00
Daniel Calviño Sánchez
37db855170
Use generic message rather than specific one for requesting offers
...
"requestoffer" messages are compatible with the generic messages, so for
simplicity the generic message is used now instead of having specific
classes just for it.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-12-27 14:28:56 +01:00
Daniel Calviño Sánchez
e1eca7764f
Replace wrapper with actual message in external signaling server
...
NCMessageWrapper is used only for messages sent and received by the
internal signaling server. However, it is unused by the external
signaling server, except for getting the NCSignalingMessage, which is
the common message for both signaling servers.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-12-27 14:28:55 +01:00
Andy Scherzinger
9ab4c58b41
remove all legacy code except basic requery implementation still needed for the cypher upgrade
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-07-24 14:19:20 +02:00
Andy Scherzinger
fde2667fe7
Migrate Call Activity and used classes/methods from requery to room
...
Resolves #2216
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-07-14 18:19:43 +02:00
Marcel Hibbe
8381e0b541
add logging for calls
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-22 22:41:17 +01:00
Joas Schilling
de6683815a
Add support for signaling v3
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-20 11:26:40 +02:00
Andy Scherzinger
0bc3be1b6e
codacy: Avoid unused imports
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 13:35:34 +02:00
Joas Schilling
97117eb90c
Use the correct signaling information and user+ticket for "Join via link" as well
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-12 16:21:55 +02:00
Joas Schilling
5d366d0dbf
Fix coding styles
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:57:39 +02:00
Joas Schilling
ee3dc43530
Throw the exception up
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:57:38 +02:00
Joas Schilling
cf23a3d87d
Inject API version into signaling API calls
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:55:48 +02:00
Mario Danic
6a5aaac224
Lobby & Various bugfixes and improvements
...
Includes conversion to Kotlin of some files
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-30 12:13:33 +02:00
Mario Danic
d225e2ac9f
Fix #584
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-07-21 22:39:03 +02:00
Mario Danic
92e56cdef2
Improve MCU re-connection magic
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-05-27 18:32:27 +02:00
Mario Danic
f5e7ad6a33
Fix #473
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
# Conflicts:
# app/src/main/java/com/nextcloud/talk/utils/ApiUtils.java
2019-02-22 15:04:27 +01:00
Mario Danic
455601b5a6
Reformat
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-15 01:49:57 +01:00
Mario Danic
5ff7316aa5
Significant progress on changing the app layout
2018-12-17 13:40:43 +01:00
Mario Danic
e5532a5842
Fix #337 and closing websocket connections
2018-10-26 10:47:59 +02:00
Mario Danic
269b879ee4
Send bye when deleting message
2018-10-26 10:07:45 +02:00
Mario Danic
f0017a2a39
Implemented proper resume
2018-10-25 01:22:26 +02:00
Mario Danic
3ec2480848
Improve websocket connection management
2018-10-25 00:56:01 +02:00
Mario Danic
91d0d829e0
Fix a few bugs
2018-10-25 00:28:48 +02:00
Mario Danic
3f4d249838
Clean ups
2018-10-17 21:27:53 +02:00
Mario Danic
5dd36a2fcc
Cleanups
2018-10-17 17:35:25 +02:00
Mario Danic
568db40816
Fix call message model
2018-10-16 11:42:37 +02:00
Mario Danic
41a16f8f83
Further websockets implementation
2018-10-15 14:23:25 +02:00
Mario Danic
72d3f5ef66
More work towards working websockets
2018-10-12 20:07:12 +02:00
Mario Danic
5e546734cd
Lots of progress on WebSocket implementation
2018-10-12 11:41:04 +02:00