Commit Graph

756 Commits

Author SHA1 Message Date
Miroslav Šedivý
482476489e
supervisord add -s flag (#15)
* fix duplicate supervisord logs.

* add -s flag.
2022-11-11 17:40:50 +01:00
Miroslav Šedivý
3d131bb42a supervisord separate logging. 2022-11-10 18:18:39 +01:00
Miroslav Šedivý
d894e888b8 fix generic plugin error message. 2022-10-25 22:46:21 +02:00
Miroslav Šedivý
6067367acd
Capture bandwidth switch (#14)
* Handle bitrate change by finding the stream with closest bitrate as peer

* Convert video id into bitrate when creating peer or changing bitrate

* Try to fix prometheus panic

* Revert metrics label name change

* minor fixes.

* bitrate selector.

* skip if moving to the same stream.

* no closure for getting target bitrate.

* fix: high res switch to lo video, stream bitrate out of range

* revert dev config change.

* white space.

Co-authored-by: Aleksandar Sukovic <aleksandar.sukovic@gmail.com>
2022-10-25 20:25:00 +02:00
Miroslav Šedivý
e0bee67e85 fix build pipe redirection. 2022-10-24 22:54:28 +02:00
Miroslav Šedivý
d608e312eb
check if we already listen to requested stream. (#13) 2022-10-23 11:31:25 +02:00
Miroslav Šedivý
5ad5daa6bb
Stream bucket manager (#12)
* refactor webrtc.

* bind track with a single connection.

* audio+video codec.

* move stream selection to bucket manager.

* audio w/o bucket manager.

* revert peer changes.

* return video IDs.

* destroy & recreate all.

* add video ID change.

* Track -> Recevier.
2022-10-17 13:39:31 +02:00
Miroslav Šedivý
095f9fe8ee
gst as interface. (#11) 2022-10-13 19:57:31 +02:00
Miroslav Šedivý
0badeeee36
Fix cursor size. (#10)
* fix cursor size.

* folders -> config.
2022-10-04 20:21:40 +02:00
Miroslav Šedivý
c34a76c8a3 broadcast url in config. 2022-09-23 17:21:33 +02:00
Miroslav Šedivý
194fd29679 capture fix replaces for pipelines. 2022-09-23 17:21:33 +02:00
Miroslav Šedivý
da24f92e72 broadcast log url. 2022-09-23 17:21:33 +02:00
Miroslav Šedivý
3eedbbf8ea broadcast pipeline fn. 2022-09-23 17:21:33 +02:00
Miroslav Šedivý
a6f117686f create pipeline fn return error. 2022-09-23 17:21:33 +02:00
Miroslav Šedivý
d5863d8b95 set WebRTC video codec H.264 profile-level-id to 42e01f to be compatible with Firefox clients. 2022-09-13 22:21:56 +02:00
Miroslav Šedivý
f512b97708 fix whitespace. 2022-09-13 22:21:08 +02:00
Miroslav Šedivý
23ce5c0cdd switch to gtk popup window. 2022-09-12 21:19:21 +02:00
Miroslav Šedivý
d35c237f48 gst remove main loop. 2022-09-12 21:19:21 +02:00
Miroslav Šedivý
c793ff1ff6 kataras/go-events@v0.0.3 Once workaround. 2022-09-12 21:19:21 +02:00
Miroslav Šedivý
6d2ba7b640 name caps and encoder. 2022-09-10 23:26:41 +02:00
Miroslav Šedivý
0488976dd6 gstreamer add API. 2022-09-10 23:26:41 +02:00
Miroslav Šedivý
938ea38cd6 fix build git repo check. 2022-08-27 16:59:02 +02:00
Miroslav Šedivý
291750c1d7 fix build git repo check. 2022-08-26 20:21:00 +02:00
Miroslav Šedivý
691150900b
Temporary websocket disconnect handling (#6)
* fix websocket close log error.

* logger session interface no pointer.

* websocket delayet disconnect.

* session host: save id not pointer to a session.

* fix if hostId not stored.
2022-08-26 20:16:40 +02:00
Miroslav Šedivý
5612b80634 add README. 2022-08-01 00:26:53 +02:00
Miroslav Šedivý
a6813f994c ws control buttons & keys add optional pos. 2022-07-28 12:43:31 +02:00
Miroslav Šedivý
7d5ec0190a add button events to control WebSocket. 2022-07-28 12:43:31 +02:00
Miroslav Šedivý
f4a4e0152e webrtc SetCursorPosition. 2022-07-28 12:43:31 +02:00
Miroslav Šedivý
81531d74c1 websocket move cursor & scroll. 2022-07-28 12:43:31 +02:00
Miroslav Šedivý
babddacbf3
Go generics and changes in v1.18 (#5)
* ArrayIn to use generics.

* interface{} -> any.
2022-07-28 12:20:20 +02:00
Miroslav Šedivý
c725e96c90
change shutdown order. (#4) 2022-07-28 12:19:58 +02:00
Miroslav Šedivý
472fd5f346 add LICENSE. 2022-07-18 22:08:47 +02:00
Miroslav Šedivý
c85d1f3159
Add GitHub Actions (#2) 2022-07-15 00:29:57 +02:00
Miroslav Šedivý
52ba7d987f plugins buildvcs. 2022-07-14 23:47:45 +02:00
Miroslav Šedivý
d08829493a add plugins folder. 2022-07-14 22:10:41 +02:00
Miroslav Šedivý
b7926c335e dev config add round. 2022-07-14 22:10:41 +02:00
Miroslav Šedivý
3cd59b9f30 rename module name from gitlab to github. 2022-07-14 22:10:41 +02:00
Miroslav Šedivý
41df1bc8d3 build - ensure plugins folder exists. 2022-07-14 22:10:41 +02:00
Miroslav Šedivý
757437111e add build scripts. 2022-07-14 22:10:41 +02:00
Miroslav Šedivý
a1f7b23f9d add openapi. 2022-07-14 22:10:41 +02:00
Miroslav Šedivý
43fa56f5af update gitignore. 2022-07-14 22:10:41 +02:00
Miroslav Šedivý
e181abf577 set version from git tag. 2022-07-04 19:14:52 +02:00
Miroslav Šedivý
1064cc4eb5 go mod upgrade. 2022-07-04 18:28:38 +02:00
Miroslav Šedivý
2bf83f6217 add metrics to config. 2022-07-04 18:26:29 +02:00
Miroslav Šedivý
bf47e5a8d0 cleanup. 2022-07-04 18:23:35 +02:00
Miroslav Šedivý
8f83089c8e move to /health and exclude metrics from logging. 2022-07-04 18:09:47 +02:00
Miroslav Šedivý
e37f5c13ca fix bug. 2022-07-04 18:03:35 +02:00
Miroslav Šedivý
8ada0217d0 reset counters when closed. 2022-07-04 17:47:04 +02:00
Miroslav Šedivý
d5c934f2af add ReceiverReport. 2022-07-04 01:01:03 +02:00
Miroslav Šedivý
fb707f05a6 join bytes by a label. 2022-07-04 00:48:29 +02:00