cloud-game/pkg/worker
sergystepanov 76b7cafb71
Refactor OPUS encoder for quality and speed (#262)
* Refactor OPUS encoder for quality and speed.

Use OPUS low delay mode (https://www.opus-codec.org/docs/opus_api-1.1.3/group__opus__ctlvalues.html#ga592232fb39db60c1369989c5c5d19a07)

* Slightly tweak linear resample function and disable it on 48kHz input

* Rewrite OPUS encoder as a struct with some internal buffer

* Use OPUS 192Kbps preset by default

* Add encoder callback function on a full buffer

* Reuse OPUS output buffer

* Add write limiter for samples
2021-01-18 23:20:50 +03:00
..
cloud-storage Fix errors/misuse with OpenGL-based core API (#237) 2020-11-04 18:59:12 +08:00
room Refactor OPUS encoder for quality and speed (#262) 2021-01-18 23:20:50 +03:00
coordinator.go Handle no config situation for workers (#253) 2021-01-03 21:23:55 +03:00
handlers.go Change wording for worker rooms and sessions inside 2021-01-11 02:31:31 +03:00
internalhandlers.go Handle no config situation for workers (#253) 2021-01-03 21:23:55 +03:00
routes.go Handle no config situation for workers (#253) 2021-01-03 21:23:55 +03:00
server.go Handle no config situation for workers (#253) 2021-01-03 21:23:55 +03:00
session.go Migrate to v2 suffix (#231) 2020-10-04 23:21:03 +08:00
worker.go Show server modules info properly 2021-01-05 00:14:59 +03:00