Commit Graph

55 Commits

Author SHA1 Message Date
Miroslav Šedivý
dafebc79e5 memberState -> sessionState. 2021-03-13 23:42:16 +01:00
Miroslav Šedivý
d83e04e7ec fix logs, unified session_id. 2021-03-13 23:27:28 +01:00
Miroslav Šedivý
3fcca6ab52 OnHostChanged event and add tokens to session. 2021-03-13 22:17:49 +01:00
Miroslav Šedivý
a6b66e4d55 OnHostChanged event. 2021-03-13 21:37:00 +01:00
Miroslav Šedivý
3aea0c7bf5 remove members from session. 2021-03-13 21:11:48 +01:00
Miroslav Šedivý
9dc96036ce fmt sessionCtx. 2021-03-03 18:46:08 +01:00
Miroslav Šedivý
09625ecca5 session refactor state. 2021-02-26 15:04:50 +01:00
Miroslav Šedivý
cd18a22655 WebRTC events only for active peer connection. 2021-02-14 17:17:06 +01:00
Miroslav Šedivý
2b693f4e52 fix naming convention. 2021-02-14 17:11:21 +01:00
Miroslav Šedivý
c54703d7d7 destroy WS and WebRTC peers before assigning. 2021-02-12 21:48:47 +01:00
Miroslav Šedivý
c81bca9b2f session GetWebRTCPeer. 2021-02-05 18:14:45 +01:00
Miroslav Šedivý
cae8201908 add Trickle ICE support. 2021-02-02 20:43:33 +01:00
Miroslav Šedivý
7fb40c0384 + GetProfile & GetState members. 2020-12-08 15:37:48 +01:00
Miroslav Šedivý
303c22bba5 profileChanged tested, minor bugs fixed. 2020-12-06 21:34:23 +01:00
Miroslav Šedivý
2467c94c59 add profileChanged. 2020-12-06 19:29:39 +01:00
Miroslav Šedivý
c714d17d87 is_receiving - is_watching. 2020-12-06 19:02:33 +01:00
Miroslav Šedivý
a6fbafc079 SetProfile changed as Update. 2020-12-05 22:18:45 +01:00
Miroslav Šedivý
22407825fe destroy only if is WebRTC active. 2020-12-05 21:05:09 +01:00
Miroslav Šedivý
4670b5187c Disconnect WebRTC on socket disconnect. 2020-12-03 16:45:41 +01:00
Miroslav Šedivý
d7b5bd6842 extract member state to custom struct. 2020-12-03 16:10:52 +01:00
Miroslav Šedivý
1f5c0a3547 updated session events. 2020-12-02 18:59:32 +01:00
Miroslav Šedivý
0d2f3405bb new MemberProfile & session refactor. 2020-12-02 17:29:38 +01:00
Miroslav Šedivý
123fbd8317 IsAdmin + IsConnected. 2020-12-02 16:49:51 +01:00
Miroslav Šedivý
1b6bc44f2a event SystemDisconnect. 2020-12-01 19:44:23 +01:00
Miroslav Šedivý
21293256ed connected session only websocket. 2020-11-30 22:28:13 +01:00
Miroslav Šedivý
745ef00cd2 update connected / disconnected events. 2020-11-30 19:13:17 +01:00
Miroslav Šedivý
753fb01955 removed OnCreated event. 2020-11-30 18:52:16 +01:00
Miroslav Šedivý
b675e4cc82 member name refactor. 2020-11-28 15:03:38 +01:00
Miroslav Šedivý
a90bf87e24 login with secret. 2020-11-27 19:59:54 +01:00
Miroslav Šedivý
d1fccf5ab6 MemberProfile as public type & create user on auth. 2020-11-25 22:07:05 +01:00
Miroslav Šedivý
665d9d2130 Create + Delete session. 2020-11-25 22:06:13 +01:00
Miroslav Šedivý
104d98d129 comment out yet unused props. 2020-11-25 20:26:29 +01:00
Miroslav Šedivý
f9b2460c3b replace SetConnected function. 2020-11-25 20:26:11 +01:00
Miroslav Šedivý
fa54823098 Split connected to WebRTC & WebSocket. 2020-11-25 20:02:53 +01:00
Miroslav Šedivý
bc77c8f8f5 add MemberProfile to session. 2020-11-25 19:44:50 +01:00
Miroslav Šedivý
b73e2403af peer -> webrtc_peer. 2020-11-25 18:41:40 +01:00
Miroslav Šedivý
ff7efe9f3b socket -> websocket_peer. 2020-11-25 18:36:33 +01:00
Miroslav Šedivý
da7e6f7728 Broadcast should not return error. 2020-11-18 20:30:33 +01:00
Miroslav Šedivý
570efbf3a6 remove unused ban endpoint. 2020-11-16 22:21:21 +01:00
Miroslav Šedivý
d87a10b23a remove unused mute function. 2020-11-16 22:10:03 +01:00
Miroslav Šedivý
7c64e6068a minor session changes. 2020-11-14 16:03:39 +01:00
Miroslav Šedivý
e4fa855f7b linter fix. 2020-11-04 00:41:04 +01:00
Miroslav Šedivý
51c6e0091f Connected / Disconnected refactor. 2020-11-01 21:03:25 +01:00
Miroslav Šedivý
e51541fe01 separate disconnect from destroy. 2020-11-01 20:53:25 +01:00
Miroslav Šedivý
311ed987d8 refactor WS authentication. 2020-11-01 20:23:09 +01:00
Miroslav Šedivý
5d906e0a8b major refactor. 2020-11-01 16:09:48 +01:00
Miroslav Šedivý
5c92b75cf7 Refactor: session remove duplicate ID in endpoints. 2020-10-31 23:53:19 +01:00
Miroslav Šedivý
e150203b54 refactor session remove redundant IDs. 2020-10-31 23:03:37 +01:00
Miroslav Šedivý
cca147859d refactor WebRTC antipatterns. 2020-10-31 21:46:29 +01:00
Miroslav Šedivý
b1b5a70c64 WebRTC refactor -> session dependency removal. 2020-10-31 21:20:42 +01:00