Ok I understand. this is just not possible because when you close a web browser window, there is a way to catch this closing event but it can then just execute a message or something very simple. Impossible to execute a script using this event, sorry ...
That's why I added a button to execute a script that will really cut the communication & the stream.
I think he means that when closing the client app (browser) the box remains in recording mode. TV OFF helps but is annoyingly to use it on way out/before go out.
OK, so you say that the decoder continue to stay in stream mode even if you closed the tool ? I have to add a function to force stopping the stream when closing the app then. that shoudl be autodetected by you decoder but it seems not. Also, there is still a 'TV OFF' option in the menu : does that help ?
if it will be a bottom in the main menu to kill the stream it could be wonderfull on my dm 800 . Cause if you close the stream windows the dreambox continues in recording mode and the turner is freeze for local user.