← Back to team overview

ubuntu-phone team mailing list archive

Re: mirscreencast'ing an Ubuntu phone

 

Not working for me - here's the error output from my Nexus 4 device (via an ssh terminal):

phablet@ubuntu-phablet:~$ mirscreencast -m /var/run/mir_socket --stdout --cap-interval 1 -s 360 640 | nc 10.42.0.64 12344 [1427937794.486066] <ERROR> mircommon: Caught exception at Mir/EGL driver boundary (in setSwapInterval): /build/buildd/mir-0.12.1+15.04.20150324/src/client/buffer_stream.cpp(283): Throw in function virtual void mir::client::BufferStream::request_and_wait_for_configure(MirSurfaceAttrib, int) Dynamic exception type: N5boost16exception_detail10clone_implINS0_19error_info_injectorISt11logic_errorEEEE
std::exception::what: Attempt to set swap interval on screencast is invalid


On 02/04/15 09:10, Matthias Apitz wrote:
Hi Stuart,

I found your page about mirscreencast'ing an Ubuntu phone. I do run on
the (FreeBSD) host:

nc -l 12344 | mplayer -demuxer rawvideo -rawvideo w=360:h=640:format=rgba -

and on the phone (while SSH'ed to it):

mirscreencast -m /var/run/mir_socket --stdout --cap-interval 1 -s 360 640 | nc 10.42.0.64 12344

and it works: it brings up the 1st frame, but does not move when I do
something on the screen of the phone; it is like a still-picture; in the
host the mplayer seems to receiving data like a movie, but the
mirscreencast is only sending the initial picture;

Any idea? Thanks in advance

	matthias



References