antimof / UxPlay

AirPlay Unix mirroring server
GNU General Public License v3.0
1.46k stars 199 forks source link

connecting ok, but no window with screen #80

Open trin4ik opened 2 years ago

trin4ik commented 2 years ago

hi i have ubuntu 21.10, i install all needs packages, try some other forks, but always uxplay connect to airplay, on phone i see done connect, but no gui window with stream in ubuntu. log start with GST_DEBUG=4

trin@StayHome:~/airplay/ludimus/build$ GST_DEBUG=4 ./ludimus 
0:00:00.000034131 2312845 0x55a1a2265c00 INFO                GST_INIT gst.c:586:init_pre: Initializing GStreamer Core Library version 1.18.5
0:00:00.000053542 2312845 0x55a1a2265c00 INFO                GST_INIT gst.c:587:init_pre: Using library installed in /usr/lib/x86_64-linux-gnu
0:00:00.000060406 2312845 0x55a1a2265c00 INFO                GST_INIT gst.c:605:init_pre: Linux StayHome 5.13.0-28-generic #31-Ubuntu SMP Thu Jan 13 17:41:06 UTC 2022 x86_64
0:00:00.000163114 2312845 0x55a1a2265c00 INFO                GST_INIT gstmessage.c:129:_priv_gst_message_initialize: init messages
0:00:00.000332440 2312845 0x55a1a2265c00 INFO                GST_INIT gstcontext.c:85:_priv_gst_context_initialize: init contexts
0:00:00.000417293 2312845 0x55a1a2265c00 INFO      GST_PLUGIN_LOADING gstplugin.c:325:_priv_gst_plugin_initialize: registering 0 static plugins
0:00:00.000453578 2312845 0x55a1a2265c00 INFO      GST_PLUGIN_LOADING gstplugin.c:233:gst_plugin_register_static: registered static plugin "staticelements"
0:00:00.000458732 2312845 0x55a1a2265c00 INFO      GST_PLUGIN_LOADING gstplugin.c:235:gst_plugin_register_static: added static plugin "staticelements", result: 1
0:00:00.000467091 2312845 0x55a1a2265c00 INFO            GST_REGISTRY gstregistry.c:1755:ensure_current_registry: reading registry cache: /home/trin/.cache/gstreamer-1.0/registry.x86_64.bin
0:00:00.006035581 2312845 0x55a1a2265c00 INFO            GST_REGISTRY gstregistrybinary.c:666:priv_gst_registry_binary_read_cache: loaded /home/trin/.cache/gstreamer-1.0/registry.x86_64.bin in 0.005555 seconds
0:00:00.006067940 2312845 0x55a1a2265c00 INFO            GST_REGISTRY gstregistry.c:1614:scan_and_update_registry: Validating plugins from registry cache: /home/trin/.cache/gstreamer-1.0/registry.x86_64.bin
0:00:00.006595899 2312845 0x55a1a2265c00 INFO      GST_PLUGIN_LOADING gstplugin.c:1537:gst_plugin_ext_dep_extract_env_vars_paths:<plugin255> ignoring environment variable content '': either not an absolute path or not a path at all
0:00:00.006602665 2312845 0x55a1a2265c00 INFO      GST_PLUGIN_LOADING gstplugin.c:1537:gst_plugin_ext_dep_extract_env_vars_paths:<plugin255> ignoring environment variable content '1': either not an absolute path or not a path at all
0:00:00.006753186 2312845 0x55a1a2265c00 INFO            GST_REGISTRY gstregistry.c:1713:scan_and_update_registry: Registry cache has not changed
0:00:00.006758011 2312845 0x55a1a2265c00 INFO            GST_REGISTRY gstregistry.c:1790:ensure_current_registry: registry reading and updating done, result = 1
0:00:00.006761256 2312845 0x55a1a2265c00 INFO                GST_INIT gst.c:806:init_post: GLib runtime version: 2.68.4
0:00:00.006764044 2312845 0x55a1a2265c00 INFO                GST_INIT gst.c:808:init_post: GLib headers version: 2.68.4
0:00:00.006766164 2312845 0x55a1a2265c00 INFO                GST_INIT gst.c:810:init_post: initialized GStreamer successfully
0:00:00.006798809 2312845 0x55a1a2265c00 INFO            GST_PIPELINE gstparse.c:344:gst_parse_launch_full: parsing pipeline description 'appsrc name=video_source stream-type=0 format=GST_FORMAT_TIME is-live=true !queue ! decodebin ! videoconvert ! autovideosink name=video_sink sync=false'
0:00:00.006919114 2312845 0x55a1a2265c00 INFO      GST_PLUGIN_LOADING gstplugin.c:915:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstapp.so" loaded
0:00:00.006926133 2312845 0x55a1a2265c00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "appsrc"
0:00:00.007006073 2312845 0x55a1a2265c00 INFO        GST_ELEMENT_PADS gstelement.c:752:gst_element_add_pad:<GstBaseSrc@0x55a1a24e04a0> adding pad 'src'
0:00:00.007270575 2312845 0x55a1a2265c00 INFO      GST_PLUGIN_LOADING gstplugin.c:915:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoreelements.so" loaded
0:00:00.007277054 2312845 0x55a1a2265c00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "queue"
0:00:00.007310995 2312845 0x55a1a2265c00 INFO        GST_ELEMENT_PADS gstelement.c:752:gst_element_add_pad:<GstQueue@0x55a1a24e8060> adding pad 'sink'
0:00:00.007318980 2312845 0x55a1a2265c00 INFO        GST_ELEMENT_PADS gstelement.c:752:gst_element_add_pad:<GstQueue@0x55a1a24e8060> adding pad 'src'
0:00:00.008013652 2312845 0x55a1a2265c00 INFO      GST_PLUGIN_LOADING gstplugin.c:915:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstplayback.so" loaded
0:00:00.008020721 2312845 0x55a1a2265c00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "decodebin"
0:00:00.008069475 2312845 0x55a1a2265c00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:360:gst_element_factory_create: creating element "typefind" named "typefind"
0:00:00.008090927 2312845 0x55a1a2265c00 INFO        GST_ELEMENT_PADS gstelement.c:752:gst_element_add_pad:<GstTypeFindElement@0x55a1a24f60b0> adding pad 'sink'
0:00:00.008099469 2312845 0x55a1a2265c00 INFO        GST_ELEMENT_PADS gstelement.c:752:gst_element_add_pad:<GstTypeFindElement@0x55a1a24f60b0> adding pad 'src'
0:00:00.008123193 2312845 0x55a1a2265c00 INFO        GST_ELEMENT_PADS gstelement.c:1009:gst_element_get_static_pad: found pad typefind:sink
0:00:00.008142362 2312845 0x55a1a2265c00 INFO                GST_PADS gstpad.c:2382:gst_pad_link_prepare: trying to link sink:proxypad0 and typefind:sink
0:00:00.008147585 2312845 0x55a1a2265c00 INFO                GST_PADS gstpad.c:2590:gst_pad_link_full: linked sink:proxypad0 and typefind:sink, successful
0:00:00.008150508 2312845 0x55a1a2265c00 INFO               GST_EVENT gstevent.c:1610:gst_event_new_reconfigure: creating reconfigure event
0:00:00.008161428 2312845 0x55a1a2265c00 INFO        GST_ELEMENT_PADS gstelement.c:752:gst_element_add_pad:<GstDecodeBin@0x55a1a24f40e0> adding pad 'sink'
0:00:00.008267225 2312845 0x55a1a2265c00 INFO      GST_PLUGIN_LOADING gstplugin.c:915:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvideoconvert.so" loaded
0:00:00.008273279 2312845 0x55a1a2265c00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "videoconvert"
0:00:00.008376617 2312845 0x55a1a2265c00 INFO        GST_ELEMENT_PADS gstelement.c:752:gst_element_add_pad:<GstBaseTransform@0x55a1a2279820> adding pad 'sink'
0:00:00.008384505 2312845 0x55a1a2265c00 INFO        GST_ELEMENT_PADS gstelement.c:752:gst_element_add_pad:<GstBaseTransform@0x55a1a2279820> adding pad 'src'
0:00:00.008473186 2312845 0x55a1a2265c00 INFO      GST_PLUGIN_LOADING gstplugin.c:915:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstautodetect.so" loaded
0:00:00.008479082 2312845 0x55a1a2265c00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "autovideosink"
0:00:00.008504723 2312845 0x55a1a2265c00 INFO        GST_ELEMENT_PADS gstelement.c:752:gst_element_add_pad:<autovideosink0> adding pad 'sink'
0:00:00.008510735 2312845 0x55a1a2265c00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:360:gst_element_factory_create: creating element "fakesink" named "fake-video-sink"
0:00:00.008549519 2312845 0x55a1a2265c00 INFO        GST_ELEMENT_PADS gstelement.c:752:gst_element_add_pad:<GstBaseSink@0x55a1a250fa90> adding pad 'sink'
0:00:00.008560827 2312845 0x55a1a2265c00 INFO        GST_ELEMENT_PADS gstelement.c:1009:gst_element_get_static_pad: found pad fake-video-sink:sink
0:00:00.008565698 2312845 0x55a1a2265c00 INFO                GST_PADS gstpad.c:2382:gst_pad_link_prepare: trying to link sink:proxypad1 and fake-video-sink:sink
0:00:00.008569905 2312845 0x55a1a2265c00 INFO                GST_PADS gstpad.c:2590:gst_pad_link_full: linked sink:proxypad1 and fake-video-sink:sink, successful
0:00:00.008572752 2312845 0x55a1a2265c00 INFO               GST_EVENT gstevent.c:1610:gst_event_new_reconfigure: creating reconfigure event
0:00:00.008582865 2312845 0x55a1a2265c00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "pipeline"
0:00:00.008617234 2312845 0x55a1a2265c00 INFO            GST_PIPELINE gst/parse/grammar.y:689:gst_parse_perform_link: linking some pad of GstAppSrc named video_source to some pad of GstQueue named queue0 (0/0) with caps "(NULL)"
0:00:00.008623210 2312845 0x55a1a2265c00 INFO        GST_ELEMENT_PADS gstutils.c:1816:gst_element_link_pads_full: trying to link element video_source:(any) to element queue0:(any)
0:00:00.008627812 2312845 0x55a1a2265c00 INFO                GST_PADS gstutils.c:1079:gst_pad_check_link: trying to link video_source:src and queue0:sink
0:00:00.008637287 2312845 0x55a1a2265c00 INFO                GST_PADS gstpad.c:4314:gst_pad_peer_query:<queue0:src> pad has no peer
0:00:00.008643457 2312845 0x55a1a2265c00 INFO                GST_PADS gstutils.c:1632:prepare_link_maybe_ghosting: video_source and queue0 in same bin, no need for ghost pads
0:00:00.008649825 2312845 0x55a1a2265c00 INFO                GST_PADS gstpad.c:2382:gst_pad_link_prepare: trying to link video_source:src and queue0:sink
0:00:00.008653944 2312845 0x55a1a2265c00 INFO                GST_PADS gstpad.c:4314:gst_pad_peer_query:<queue0:src> pad has no peer
0:00:00.008658566 2312845 0x55a1a2265c00 INFO                GST_PADS gstpad.c:2590:gst_pad_link_full: linked video_source:src and queue0:sink, successful
0:00:00.008661379 2312845 0x55a1a2265c00 INFO               GST_EVENT gstevent.c:1610:gst_event_new_reconfigure: creating reconfigure event

...

Accepted IPv4 client on socket 27
Local: 10.9.2.54
Remote: 10.9.2.5
Accepted IPv4 client on socket 29
Local: 10.9.2.54
Remote: 10.9.2.5
Found an unknown parameter: volume
raop_ntp receive timeout

all log in file log.txt

fduncanh commented 2 years ago
  1. development has moved to http://github.com/FDH2/UxPlay post issues there. describe your system (hardware, OS)

  2. latest github code has more information output when raop_ntp timeout occurs. This means that client is not replying to server's attempts to see if client is alive.