hi, Am Montag, den 22.06.2015, 15:33 +0200 schrieb Roberto Resoli: > Hello, > > mirscreencast is now fixed under vivid[1]. Anyway, after trying to > stream the screen of my Aquaris 4.5 to a PC I noted that the streaming > freezes when the terminal app I use to launch > > mirscreencast -m /var/run/mir_socket --stdout --cap-interval 1 -s 540 > 960 | nc 10.42.0.64 12344 > > is not in foreground.
yes, this is how apps are handled on the phone. an app that goes to background recieves SIGSTOP by the system, only system services (media-hub for example, so your music plays on if the music app is not in focus) keep running ... since the shell in which you run mirscreencast is a child of the terminal app it gets suspended alongside, this is a (security and powermanagement) feature, not a bug ... mirscreencast would have to provide i.e. a dbus service you can just trigger from the terminal (but not actually run directly from the embedded shell, dbus would run it) so that it operates in background ... ciao oli -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp