Commit Graph

803 Commits

Author SHA1 Message Date
Miroslav Šedivý
f8edd988b3
configure pulseaudio from env. (#39) 2023-03-27 18:34:05 +02:00
Miroslav Šedivý
09508638ce
session save & load from a file. (#38) 2023-03-27 18:33:51 +02:00
Miroslav Šedivý
fa69ddd984 streamsink total bytes metric counter. 2023-03-17 20:20:23 +01:00
Miroslav Šedivý
362bcd3852 nvidia switch to virtualgl 3.1. 2023-03-17 12:12:38 +01:00
Miroslav Šedivý
9936a04fea
add passive estimator & REMB back. (#35) 2023-03-13 17:55:52 +01:00
Miroslav Šedivý
0de8ffc773
update screen rate set. (#34) 2023-03-13 17:55:41 +01:00
Miroslav Šedivý
17bfd2d58f
Sample listeners chan (#33)
* switch to sample listeners.

* add streamsink total bytes to metrics.

* on rtcp to chan.

* change logs.

* streamsink add real bitrate.

* add timing information to sample.

* bitrate buckets.

* switch to WriteSample.
2023-03-07 00:08:53 +01:00
Miroslav Šedivý
38fc21aabc upgrade deps. 2023-02-28 10:09:18 +01:00
Miroslav Šedivý
a9e6736ca4 upgrade deps. 2023-02-28 10:02:20 +01:00
Miroslav Šedivý
977662affe
Upgrade to go 1.20 (#30)
* upgrade dependencies.

* videoscale element to nearest neighbor.
2023-02-26 21:57:02 +01:00
Miroslav Šedivý
a4a3ff79ad
Toggle estimator config (#32)
* add estimator to conifg.

* ensure video auto is false when estimator is disabled.
2023-02-26 21:54:10 +01:00
Miroslav Šedivý
64abfd0b1a cursors increase max serial to 300. 2023-02-21 00:14:50 +01:00
Miroslav Šedivý
ccaaacac7c do not round height to 8. 2023-02-20 19:49:39 +01:00
Miroslav Šedivý
30200d4057
Switch to listeners for webrtc pause (#31)
* switch to listeners for webrtc pause.

* group track vars.

* do not set or remove stream when paused.
2023-02-20 19:48:04 +01:00
Miroslav Šedivý
0086900053
GCC No-Op Pacer (#29)
* on rtcp send multiple packets.

* use no op pacer.
2023-02-14 21:19:14 +01:00
Miroslav Šedivý
124c5ae117
Wait for keyframe on switching streams (#28)
* stream sink add keyframe lobby.

* change streamsink keyframe identifier.

* add h264.

* use gstreamers is delta unit for sample.

* use delta unit.
2023-02-14 21:19:02 +01:00
Miroslav Šedivý
f8b128e1e9
Custom sizes with XRandR (#25)
* xserver dummy with RandR.

* update.

* remove screen configurations from xorg.

* screen size cannot be nil anymore.

* use predefined screen configurations.

* use screen configurations.

* fix error.

* remove comment.
2023-02-14 21:18:47 +01:00
Miroslav Šedivý
bfabee12e2
gst emit video keyframe on demand. (#27) 2023-02-07 21:43:14 +01:00
Miroslav Šedivý
2364facd60
WebRTC congestion control (#26)
* Add congestion control

* Improve stream matching, add manual stream selection, add metrics

* Use a ticker for bitrate estimation and make bandwidth drops switch to lower streams more aggressively

* Missing signal response, fix video auto bug

* Remove redundant mutex

* Bitrate history queue

* Get bitrate fn support h264 & float64

---------

Co-authored-by: Aleksandar Sukovic <aleksandar.sukovic@gmail.com>
2023-02-06 19:45:51 +01:00
Miroslav Šedivý
e80ae8019e
set answering dtls role as server. (#24) 2023-01-30 11:31:30 +01:00
Miroslav Šedivý
a72648c409
add dockerfile. (#22) 2023-01-27 22:32:33 +01:00
Gheorghe
94981e30aa chore: add more resolutions
- 25 fps 2k
- 25 fps 1600x900
- 25 fps 1368x768
- 25 fps 800x1600
2023-01-23 17:04:32 +01:00
Miroslav Šedivý
813a0da30c
WebRTC ping over data channel (#23)
* add datachannel ping to webrtc.

* add ping pong decode func.
2023-01-20 23:08:27 +01:00
Miroslav Šedivý
ba0dea8022 switch to xkb. 2023-01-16 13:54:17 +01:00
Miroslav Šedivý
eac9796c47 no free keycodes, pick last two keycodes anyway. 2023-01-16 13:54:17 +01:00
Miroslav Šedivý
67cc23fd53 circular list for free keycodes. 2023-01-16 13:54:17 +01:00
Miroslav Šedivý
bd04ca88e8 fix missing error message on wrong config. 2023-01-13 12:01:58 +01:00
Miroslav Šedivý
8381020415 default provider: multiuser. 2023-01-13 12:01:58 +01:00
Miroslav Šedivý
7601af9917 fix default pipeline. 2023-01-13 12:01:58 +01:00
Miroslav Šedivý
1fb5ae43dd allow multiple users to be set in object provider. 2023-01-13 12:01:58 +01:00
Miroslav Šedivý
107eba22a5 select profile primarily from corresponding session, if exists. 2023-01-13 12:01:58 +01:00
Miroslav Šedivý
2ff8d84ba2 fix errors. 2023-01-13 12:01:58 +01:00
Miroslav Šedivý
af95cb4d72 change dummy to noauth mode. 2023-01-13 12:01:58 +01:00
Miroslav Šedivý
319bd457f3 add multiuser provider. 2023-01-13 12:01:58 +01:00
Miroslav Šedivý
e5c84469ce MemberProvider: add variable names. 2023-01-13 12:01:58 +01:00
Miroslav Šedivý
6574470278 login logout proper http error handling. 2023-01-12 23:21:56 +01:00
Miroslav Šedivý
b793e5b377 add stereo to opus codec. 2023-01-12 20:34:09 +01:00
Miroslav Šedivý
3c3042d691
Add batch endpoint (#19)
* add batch endpoint.

* keep error code.

* use utils.HttpSuccess.

* add batch to openapi.

* body omitempty.
2023-01-09 23:18:47 +01:00
Miroslav Šedivý
fb8462b56a
Add WebRTC candidate metrics (#18)
* stats: add protocol to iceCandidates.

* add ice candidates used metric.

* NewICECandidate use whole struct.
2022-12-16 13:49:51 +01:00
Miroslav Šedivý
b49f545094 properly log unhandled panics. 2022-12-15 22:15:50 +01:00
Miroslav Šedivý
6b39e8e0e8
Fix WebRTC mux issues (#17)
* use NewMultiUDPMuxFromPort.

* tcp mux add write buffer size.
2022-12-13 11:35:03 +01:00
Miroslav Šedivý
919a554a9e track WriteSample fix log message. 2022-12-12 22:53:26 +01:00
Miroslav Šedivý
05c4fa34c5 fix indirect dependencies. 2022-11-28 22:09:33 +01:00
Miroslav Šedivý
833c0d5e86 upgrade dependencies. 2022-11-28 21:32:20 +01:00
Miroslav Šedivý
09f213f442 remove /var/log/neko fom Dockerfile. 2022-11-11 19:46:25 +01:00
Miroslav Šedivý
7946afaffe fix dev supervisord. 2022-11-11 19:43:09 +01:00
Miroslav Šedivý
2cb64d15a0
send heartbeat with ping. (#16) 2022-11-11 17:58:54 +01:00
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