Xpra: Ticket #1850: tell clients that the video has ended

At the moment, we keep the decoder context alive until we either discard the window or create a new one, we should be telling the client when it can be discarded. In some cases, we may already have sent an EOS packet, but what this does is free some of the decoder's internal state, not the decoder itself.

(slightly related to #1836)



Mon, 21 May 2018 08:54:17 GMT - Antoine Martin: status changed

Still TODO: add timer to automatically recycle video contexts when window updates stop


Tue, 22 May 2018 08:17:11 GMT - Antoine Martin: status, description changed; resolution set

We now timeout the video encoder context after XPRA_VIDEO_TIMEOUT seconds (defaults to 10): r19364 + r19365.

(it's a little bit wasteful to keep re-scheduling this timer for every frame we process but doing anything more clever would increase code complexity)


Sat, 09 Jun 2018 08:52:27 GMT - Antoine Martin:

Caused a regression: #1868.

Testing note: the effect of the EOS timer can be seen with:

xpra info | grep -e "window\.[0-9]*\.encoder="

Sat, 23 Jan 2021 05:35:26 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1850