CastScreen icon indicating copy to clipboard operation
CastScreen copied to clipboard

via wifi issue

Open lynzhai opened this issue 9 years ago • 3 comments

Using sink: autovideosink Receive broadcast msg: hello from: 192.168.1.12:51297 Receive discover msg: hello, from: 192.168.1.12 Response discover msg with local ip: 192.168.1.33 Receive broadcast msg: hello from: 192.168.1.12:60473 Receive discover msg: hello, from: 192.168.1.12 Response discover msg with local ip: 192.168.1.33 Accept peer addr: 192.168.1.12:53308 Receive control data(79): POST /api/v1/h264 HTTP/1.1 Connection: close X-WIDTH: 1280 X-HEIGHT: 720 width: 1280 height: 720 gst pid: 8402 gst in fp: 11 WARNING: erroneous pipeline: no element "autovideosink" WARNING: erroneous pipeline: no element "autovideosink"

two warnings, no gui

lynzhai avatar Dec 29 '16 05:12 lynzhai

ubuntu terminal: ./cs_receiver 192.168.1.12

Using sink: 192.168.1.12 Receive broadcast msg: hello from: 192.168.1.12:33841 Receive discover msg: hello, from: 192.168.1.12 Response discover msg with local ip: 192.168.1.33 Receive broadcast msg: hello from: 192.168.1.12:33841 Receive discover msg: hello, from: 192.168.1.12 Response discover msg with local ip: 192.168.1.33 Receive broadcast msg: hello from: 192.168.1.12:39917 Receive discover msg: hello, from: 192.168.1.12 Response discover msg with local ip: 192.168.1.33 Accept peer addr: 192.168.1.12:45787 command is gst-launch-1.0command is fdsrcgst pid: 8640 Receive data len: 79 Receive control data(79): POST /api/v1/h264 HTTP/1.1 Connection: close X-WIDTH: 1280 X-HEIGHT: 720

width: 1280 height: 720 gst pid: 8641 gst in fp: 11 Receive data len: 48 Receive data len: 25 Receive data len: 1024 Receive data len: 1024 Receive data len: 1024 Receive data len: 1024 Receive data len: 248 Receive data len: 1024 Receive data len: 1024 Receive data len: 1024 Receive data len: 1024 Receive data len: 1024 Receive data len: 1024

i open your printf "Receive data len", ubuntu can receive data,but ubuntu can not display a gui to display android ui. where is issue?

thanks for your reply

lynzhai avatar Dec 29 '16 06:12 lynzhai

The plugin autovideosink is not exist on your system, you need install it first.

JonesChi avatar Dec 30 '16 08:12 JonesChi

After installing plugin getting following Errors:-

gst pid: 14644 Receive control data(78): POST /api/v1/h264 HTTP/1.1 Connection: close X-WIDTH: 800 X-HEIGHT: 480

width: 800 height: 480 gst pid: 14645 gst in fp: 11 libEGL warning: DRI2: xcb_connect failed libEGL warning: DRI2: xcb_connect failed libEGL warning: GLX: failed to load GLX ERROR: Pipeline doesn't want to pause. ERROR: from element /GstXvImageSink:autovideosink0-actual-sink-xvimage: Could not initialise Xv output Additional debug info: xvimagesink.c(1765): gst_xvimagesink_open (): /GstXvImageSink:autovideosink0-actual-sink-xvimage: Could not open display (null) libEGL warning: DRI2: xcb_connect failed libEGL warning: DRI2: xcb_connect failed libEGL warning: GLX: failed to load GLX ERROR: Pipeline doesn't want to pause. ERROR: from element /GstXvImageSink:autovideosink0-actual-sink-xvimage: Could not initialise Xv output Additional debug info: xvimagesink.c(1765): gst_xvimagesink_open (): /GstXvImageSink:autovideosink0-actual-sink-xvimage: Could not open display (null)

Pls can anyone help

dhananjay972 avatar Jun 26 '18 09:06 dhananjay972