Commit graph

14 commits

Author SHA1 Message Date
embr
2015a566cb
Fix websocket reconnection (#3959)
The `onerror` event is only triggered if the buffer is full while the
socket is closed, while the `onclose` event is called for any kind of
disconnection: https://websockets.spec.whatwg.org/#closeWebSocket

Fixes: https://github.com/owncast/owncast/issues/3958

Co-authored-by: Alyssa Ross <hi@alyssa.is>
2024-10-22 16:29:46 -07:00
Gabe Kangas
05f7075244
fix(chat): make websocket reconnects happen faster. Closes #3021 2023-05-19 18:52:43 -07:00
Gabe Kangas
597281bbb2
Guard against duplicate websocket connections. Closes #2773 2023-03-31 21:01:16 -07:00
Gabe Kangas
0f58f8c0fe
Banned and chat disconnected states will hide chat. Closes #2764 2023-03-13 15:25:05 -07:00
Gabe Kangas
e75b20d6ca
Support customSocketOverride value for websocket. Closes #2225 2022-10-18 20:43:23 -07:00
Gabe Kangas
3e89937d2b
Handle websocket errors and reconnection. Closes #1869 2022-10-18 16:39:49 -07:00
Gabe Kangas
8f0541a0f1
Remove hardcoded websocket host 2022-10-09 21:17:55 -07:00
Gabe Kangas
1b26a44fb6
Fix concurrent rendering error + make logs debug level 2022-05-28 18:45:30 -07:00
Gabe Kangas
1d213b71d4
Support changing your own name and handling name change events 2022-05-26 13:52:04 -07:00
Gabe Kangas
72c01e1b9a
Fix web project build errors 2022-05-11 23:31:31 -07:00
Gabe Kangas
008f607cf7
Fill out the follower component 2022-05-04 08:56:47 -07:00
Gabe Kangas
8b07eb7457
Render chat messages that come over the socket 2022-05-03 13:01:50 -07:00
Gabe Kangas
15becc5121
Connect to websocket and start accepting messages 2022-05-02 22:13:36 -07:00
Gabe Kangas
a0354d6d49
Handle centralized app state and registration + chat history 2022-05-02 17:45:22 -07:00