mirror of https://github.com/Genymobile/scrcpy
c78ad6377c
On user request to quit, two kinds of blocking calls must be interrupted on the server: 1. the reads from and writes to the socket; 2. the call to MediaCodec.dequeueOutputBuffer(). The former case was handled by calling shutdown() on the socket from the client, but the latter was not managed. There is no easy way to wake this call properly, so just terminate the process from the client (i.e. send SIGTERM on Linux) instead. |
||
---|---|---|
.. | ||
src | ||
tests | ||
meson.build |