Commit Graph

290 Commits

Author SHA1 Message Date
Miroslav Šedivý
f59128cf72 add fields to stats. 2021-11-17 22:10:55 +01:00
Miroslav Šedivý
c4d67d416e refactor authentication code. 2021-11-17 18:00:27 +01:00
Miroslav Šedivý
bc961c5170 control protection disabled by default. 2021-11-17 17:33:52 +01:00
Miroslav Šedivý
e2ba39922c added control protection. 2021-11-16 23:48:40 +01:00
Miroslav Šedivý
00201af40c implement config locks. 2021-11-16 23:00:24 +01:00
Miroslav Šedivý
61fcf7f699 add lock controls for users. 2021-11-16 22:50:11 +01:00
Miroslav Šedivý
33256f2ff2 cleanup c files. 2021-11-07 17:09:00 +01:00
Miroslav Šedivý
dfcb817eec remove duplicate function. 2021-11-06 00:32:06 +01:00
Miroslav Šedivý
04ef2d3081 remove not needed file. 2021-11-06 00:30:34 +01:00
Miroslav Šedivý
2a37c89ce5 update version. 2021-10-24 18:41:44 +02:00
Miroslav Šedivý
3b5d6b2ec5 simplify log shutdown. 2021-10-24 18:31:16 +02:00
Miroslav Šedivý
04840727bb remove unused http middlewares. 2021-10-05 23:13:44 +02:00
Miroslav Šedivý
9c014336ff lint fix. 2021-10-05 23:10:10 +02:00
Miroslav Šedivý
1ff743c598 rename package. 2021-10-05 22:38:24 +02:00
Miroslav Šedivý
b6e668bc53 send disconnect on server shutdown. 2021-09-11 18:21:28 +02:00
Miroslav Šedivý
b7950b3650 fix stopsignal for go program. 2021-09-11 18:15:12 +02:00
Miroslav Šedivý
6ee8bb86fe go mod update. 2021-09-11 17:45:05 +02:00
Miroslav Šedivý
78bf9e276b golang upgrade deps. 2021-08-31 18:13:34 +02:00
Miroslav Šedivý
ecf59a39bc bump golang version. 2021-08-31 18:13:05 +02:00
Miroslav Šedivý
313cd55049 add system error. 2021-08-15 16:05:26 +02:00
Miroslav Šedivý
9e466b08cc catch errors from gst pipeline. 2021-08-15 15:37:27 +02:00
Miroslav Šedivý
0185178234 go upgrade. 2021-08-15 14:57:39 +02:00
Miroslav Šedivý
c3abbfd577 do not handle msgs on nonexisting id. 2021-07-22 20:58:39 +02:00
Miroslav Šedivý
46b8c9f42d golang minor changes cleanup. 2021-07-22 20:58:15 +02:00
Miroslav Šedivý
7d94ee603d change version & add fork author. 2021-07-22 20:07:03 +02:00
Miroslav Šedivý
bf428c5154 upgrade dependencies. 2021-06-28 23:54:38 +02:00
Miroslav Šedivý
733c39412b use log panic in webrtc. 2021-06-26 13:45:22 +02:00
Miroslav Šedivý
7aa7e0eacb custom ipfetch #63. 2021-06-26 13:44:41 +02:00
Miroslav Šedivý
93cb227a1f get ip, no proxy #63. 2021-05-29 21:08:41 +02:00
Miroslav Šedivý
3dbb265ef3 upgrade server dependencies. 2021-05-23 19:57:41 +02:00
Miroslav Šedivý
35a092630e logs ignore healthcheck requests. 2021-05-23 19:21:36 +02:00
Miroslav Šedivý
ce42d81eeb apply debug from env. 2021-05-23 19:18:57 +02:00
m1k1o
f8ba35119e add XkbKeysymToKeycode source link. 2021-04-12 19:43:46 +02:00
m1k1o
4320a2b299 xorg fix error reporting. 2021-04-12 19:42:58 +02:00
m1k1o
b13b1907f4 xorg simplifz names. 2021-04-12 19:41:36 +02:00
m1k1o
1ec8bd34a6 xorg join search + delete to pop. 2021-04-12 19:38:13 +02:00
m1k1o
1307236f86 change head list name. 2021-04-12 19:30:19 +02:00
m1k1o
285d4b630b node -> xkeys_t, moved to .h file. 2021-04-12 19:29:19 +02:00
m1k1o
b169195b69 xorg ulong -> KeySym. 2021-04-12 19:22:59 +02:00
mbattista
7f226842df loopbreaker and fixes 2021-04-12 14:16:57 +00:00
mbattista
9386cbb2e2 append -> insert 2021-04-11 12:38:18 +00:00
m1k1o
58cb161bf3 remove additional newline. 2021-04-11 12:26:45 +02:00
m1k1o
b2effce0e7 lint fix. 2021-04-11 12:25:02 +02:00
m1k1o
c54e8327ac revert 'workaround for #45.' 2021-04-11 12:12:06 +02:00
mbattista
07d111af36 readded list. removed bug. 2021-04-11 08:35:54 +00:00
mbattista
1038dd109a more cleanup 2021-04-10 23:48:23 +00:00
mbattista
82062637ae duplicated code 2021-04-10 23:33:58 +00:00
mbattista
e88521f94e list not really needed 2021-04-10 23:22:37 +00:00
mbattista
79e3e153bd with comments for if stucts are needed later 2021-04-10 23:17:05 +00:00
mbattista
be3453c37d pressing key with multiple pressed keys 2021-04-10 11:43:04 +00:00
m1k1o
e5ca4ac184 us mac variant #45. 2021-04-07 22:50:40 +02:00
m1k1o
1a09442f26 workaround for #45. 2021-04-07 22:19:50 +02:00
m1k1o
83570a15ca iceservers join with iceserver. 2021-04-04 22:48:54 +02:00
m1k1o
f85d4d312f go fmt whole project. 2021-04-04 22:37:33 +02:00
mbattista
c7a178e5a4 object instead of string 2021-04-04 20:08:28 +00:00
mbattista
29b4881c08 allow to add password protected turn server 2021-04-04 17:37:07 +00:00
m1k1o
3c92477a05 remove unused CodecName from pipelines. 2021-04-03 15:19:01 +02:00
m1k1o
ce52331d68 broadcast pipeline -> optional arguments. 2021-04-03 15:17:26 +02:00
m1k1o
23b6c82241 go mod tidy. 2021-03-29 10:20:30 +02:00
mbattista
b88f1750f7 updated dependencies 2021-03-28 19:44:43 +00:00
m1k1o
b96ba47224 add members & host to stats. 2021-03-19 22:06:40 +01:00
m1k1o
bbae073104 add /stats endpoint. 2021-03-19 21:33:49 +01:00
m1k1o
bbea5f5715 Merge branch 'dev' of github.com:m1k1o/neko into dev 2021-03-19 14:42:57 +01:00
m1k1o
ed2cdaf71d add HEALTHCHECK. 2021-03-19 14:42:54 +01:00
m1k1o
19631d8ae9 Revert "lower keyframes max dist for faster loading."
This reverts commit 14939db65a.
2021-03-12 01:15:31 +01:00
m1k1o
14939db65a lower keyframes max dist for faster loading. 2021-03-10 23:18:14 +01:00
m1k1o
afb416ea57 go files serve RequestURI -> URL.Path. 2021-03-10 22:52:41 +01:00
m1k1o
085806d1b2 local default URI for client. 2021-03-10 22:08:04 +01:00
m1k1o
69e0979aa0 fix log severity. 2021-03-01 14:31:27 +01:00
m1k1o
377ecd7d06 fix indentation. 2021-03-01 14:31:16 +01:00
Marcel Battista
6e2b5084e7 fixes https://github.com/m1k1o/neko/issues/22 2021-03-01 01:07:31 +00:00
Marcel Battista
9c3d441d16 removes small lags from video live streamings 2021-02-28 23:12:03 +00:00
m1k1o
56b1aa92f4 add WebRTC timeouts. 2021-02-15 15:42:10 +01:00
m1k1o
595259b30c fix sessions manager thread safety. 2021-02-15 15:41:08 +01:00
m1k1o
321e52ee4f pass screen frame rate to gstreamer pipeline. 2021-02-15 14:59:20 +01:00
m1k1o
27740b0af0 Revert "Offer ICERestart"
This reverts commit 646e8af042.
2021-02-15 00:53:20 +01:00
Marcel Battista
646e8af042 Offer ICERestart 2021-02-14 23:34:01 +00:00
Marcel Battista
e57fe5efac nack is nativly implemented by pion webrtc v3, gstreamer has 25 fps with no additional parameters 2021-02-14 22:50:49 +00:00
m1k1o
29fc67aff9 fix logging for WebRTC. 2021-02-14 21:39:05 +01:00
m1k1o
61eed9ca98 use audio and video bitrate. 2021-02-14 21:07:56 +01:00
m1k1o
34954d1a54 update go packages version. 2021-02-14 20:26:50 +01:00
m1k1o
f24c99f90c remove ClockRate from gst pipelines. 2021-02-14 20:26:35 +01:00
Marcel Battista
405ef7b9dd bitrate as integer 2021-02-14 19:13:52 +00:00
Marcel Battista
a362df4976 update to pion v3 2021-02-14 16:30:24 +00:00
mbattista
31cd834526
Removed double h264 encoding
if h264enc and openh264 is installed it lead to both strings in the gstreamer pipeline which resulted in no video output
2021-01-31 23:12:52 +01:00
m1k1o
3788d81061 fix message struct 2021-01-18 13:26:01 +01:00
m1k1o
1e186e8239 if locked, notify admin about that on join 2021-01-18 13:07:25 +01:00
m1k1o
f093ef762b fix locked room bug 2021-01-14 21:41:00 +01:00
m1k1o
44f50c24fa fix minor gst pipeline bug 2021-01-13 19:25:36 +01:00
m1k1o
7189bb6973 Merge branch 'master' of https://github.com/nurdism/neko into dev 2020-12-18 18:51:16 +01:00
Nurdism
2f9bf45389
dumb change to trigger auto build 2020-11-02 14:11:27 -05:00
m1k1o
e81756d5cd stereo sound 2020-09-27 12:10:54 +02:00
m1k1o
d02617329b custom RTMP pipeline 2020-09-27 12:09:45 +02:00
m1k1o
de04cac28e Revert "remove broadcast Config"
This reverts commit 88c0337a16.
2020-09-27 12:06:13 +02:00
m1k1o
88c0337a16 remove broadcast Config 2020-09-27 01:34:33 +02:00
m1k1o
16e2481c1c comment out unused configs 2020-09-27 01:17:20 +02:00
m1k1o
ea80f07bcd add WS handlers 2020-09-27 00:10:34 +02:00
m1k1o
b2afd1af6d use BroadcatManager 2020-09-26 23:04:15 +02:00
m1k1o
d95947d4ec fix -> : 2020-09-24 08:18:28 +02:00
m1k1o
7667068437 fix 2020-09-24 08:17:32 +02:00
m1k1o
0e4f2327d4 add rtmp broadcast 2020-09-24 08:09:02 +02:00
Nurdism
395e23a155
Merge pull request #92 from m1k1o/guacamole-kbd
Guacamole Keyboard support + choose layout
2020-07-11 16:17:32 -04:00
m1k1o
bd5f899b6d kbd-modifiers add debug log 2020-06-21 14:45:04 +02:00
m1k1o
55e2f93e52 Merge branch 'master' of https://github.com/nurdism/neko into kbd-modifier-state-sync 2020-06-21 03:11:36 +02:00
m1k1o
38e1b8f3e5 Merge branch 'guacamole-kbd' of github.com:m1k1o/neko into kbd-modifier-state-sync 2020-06-21 03:09:53 +02:00
m1k1o
832968e8fc fix naming convention 2020-06-21 03:05:58 +02:00
m1k1o
6f4bbeb452 change lock modifiers 2020-06-21 03:01:59 +02:00
m1k1o
9ce26cffc5 bug: bad args order. 2020-06-21 03:01:15 +02:00
m1k1o
2fbf1e9ca4 get named indicators 2020-06-21 01:57:52 +02:00
m1k1o
17ad17dd42 fix typos 2020-06-20 02:26:47 +02:00
m1k1o
0ecf669077 SetKeyboardModifiers in xorg C 2020-06-20 02:15:38 +02:00
m1k1o
8c8df119ad kbd modifiers - server side 2020-06-20 00:57:37 +02:00
Miroslav Šedivý
fcca903ae9 allow only a-zA-Z for keyboard layout 2020-06-16 02:39:15 +02:00
Miroslav Šedivý
01564a57b5 Revert "new WS ControlRequest data type"
This reverts commit 70e8b215cb.
2020-06-16 01:01:23 +02:00
Miroslav Šedivý
6206fbbadd add new WS keyboard event 2020-06-16 00:55:14 +02:00
Miroslav Šedivý
56bd6acf10 security fix: only 2 chars for setxkbmap 2020-06-16 00:23:00 +02:00
Miroslav Šedivý
4a7800c93f change kbd layout using setxkbmap 2020-06-15 23:14:23 +02:00
Miroslav Šedivý
70e8b215cb new WS ControlRequest data type 2020-06-15 22:26:47 +02:00
Miroslav Šedivý
8a56f238ad map keysyms to keycodes 2020-06-15 19:09:28 +02:00
Miroslav Šedivý
9a6ca9b5b0 send keysyms in uint64 2020-06-15 18:57:28 +02:00
Miroslav Šedivý
4b378550c2 xorg.ChangeScreenSize error handling 2020-06-14 13:38:55 +02:00
Miroslav Šedivý
fe90a9555f send screen resolution after SessionConnected 2020-06-14 13:37:59 +02:00
Miroslav Šedivý
aa1fedcb24 map KeySym at client side 2020-06-13 16:21:11 +02:00
Miroslav Šedivý
19c6b8c4ae test if XKeysymToKeycode returns zero 2020-06-13 13:29:16 +02:00
Miroslav Šedivý
fa945d156f
screen parsing fixed
Would result to invalid screen option, since it would parse width three times instead of other parameters.

```
WRN invalid screen option 1280x1280@1280 module=remote,
```
2020-04-19 14:11:44 +02:00
Craig
98600ad5f6 gh actions complete 2020-04-19 01:12:49 +00:00
Craig
5da903f3fe change dissconnect messages to keys for i18n 2020-04-18 20:57:28 +00:00
Craig
14caa1fba8 let admin in if room locked 2020-04-06 20:26:16 +00:00
Craig
8cea01f164 fix CreatePipeline func 2020-04-06 20:15:32 +00:00
Craig
470bb2f659 type error 2020-04-06 20:14:50 +00:00
Craig
584513de9b reverse proxy mode 2020-04-06 20:14:30 +00:00
Craig
414b5a8015 unlock room if no admins online 2020-04-06 20:14:08 +00:00
Craig
82ca6e13ca RTMP Broadcast (WIP) 2020-04-06 03:42:42 +00:00
Craig
23d645f205 fixed some typeos 2020-04-06 02:29:38 +00:00
Craig
9220661ae0 stop encodeing when not broadcastin, resolves #64 2020-04-05 23:07:25 +00:00
Craig
26c6cfbe1e seperate remote desktop from webrtc 2020-04-05 22:34:51 +00:00
Craig
6de731b9bb descriptions for new flags 2020-04-05 07:50:36 +00:00
Craig
04033b664b ability to use ICE or ICELite 2020-04-05 07:07:45 +00:00
Craig
853dd14386 version bump 2020-04-05 04:10:18 +00:00
Craig
362cf6c254 should resolve #46 2020-04-05 03:49:43 +00:00
Craig
bf51a3ff3a username -> displayname 2020-04-05 01:33:19 +00:00
Craig
bcb4ea6641 golang deps update 2020-04-05 01:26:11 +00:00
Craig
2bcd9e985b rename admin flag to password_admin 2020-04-05 01:24:54 +00:00
Miroslav Šedivý
ed83058f4e epr config - int parse bug 2020-03-14 23:48:17 +01:00
GigaFyde
b31036147d A huge amount more spelling corrections 2020-02-26 13:46:10 +01:00
Craig
26606c6963 change misleading name 2020-02-14 03:55:36 +00:00
Craig
efc8413b05 clean up track creation 2020-02-14 03:52:43 +00:00
Craig
9310bb5572 add WebSocketHandler to WebSocket struct 2020-02-14 03:52:14 +00:00
Craig
bc38e036da clean up track creation 2020-02-14 03:51:41 +00:00
Craig
1080ee8425 GetIP if config empty 2020-02-14 03:50:53 +00:00