tpf-server issueshttps://gitlab.zhdk.ch/TPF/tpf-server/-/issues2020-12-22T15:52:05Zhttps://gitlab.zhdk.ch/TPF/tpf-server/-/issues/6gracefully handle clients with wrong samplerate2020-12-22T15:52:05ZIOhannes Zmoelniggracefully handle clients with wrong sampleratecurrently, the first client that connects to a tpf-server defines the samplerate.
all other clients must use the same samplerate, otherwise everything explodes (or so; i don't know. but once i connected to the zhdk server with my client ...currently, the first client that connects to a tpf-server defines the samplerate.
all other clients must use the same samplerate, otherwise everything explodes (or so; i don't know. but once i connected to the zhdk server with my client running at 44.1kHz, people started yelling at me that i should leave).
this is somewhat related to #2 , but as a first step it might be enough to just :mute: (or even :kick:) clients with the wrong settings (possibly giving them some hints via a chatbot)https://gitlab.zhdk.ch/TPF/tpf-server/-/issues/5how to quit the server gracefully?2020-05-12T12:12:23ZIOhannes Zmoelnighow to quit the server gracefully?when running tpf-server on a headless machine, what is the suggested way to quit (restart) it?
afaict, the only way to quit the server is by killing it.
it would be nice to be able to signal the server that it should quit.
possibly vi...when running tpf-server on a headless machine, what is the suggested way to quit (restart) it?
afaict, the only way to quit the server is by killing it.
it would be nice to be able to signal the server that it should quit.
possibly via OSC, but probably not on the port that the clients are using; we don't necessarily want some anonymous internet user to be able to shut down the server.
alternatively (or additionally) one might have to provide an authentication token, e.g.
~~~osc
/s/tpf/quit SomeSecretString
~~~
or
~~~osc
#bundle
/s/tpf/auth SomeSecretString
/s/top/quit
~~~
(the latter - with the auth-token only valid while the #bundle is being processed - could be turned into a more general interface for controlling otherwise protected properties)