Giter Club home page Giter Club logo

uxplay's People

Contributors

alexmyczko avatar antimof avatar fduncanh avatar linus-ha avatar lolwat97 avatar march1993 avatar thiccaxe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

uxplay's Issues

Too bright

Hi,
on ubuntu 20.04 it seems too bright / saturated, frames with squares (eg notebook ones) are shared as points on the edges.
Is there a way to reduce this effect?
Thanks in advance.

uxplaybug

Crashes when a connection is initiated

When I start the program it crashes after I connected to it with my ios device
Console output:

Initialized server socket(s)
*** WARNING *** The program 'uxplay' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>
Accepted IPv4 client on socket 28
Local: 192.168.1.104
Remote: 192.168.1.73
Accepted IPv4 client on socket 30
Local: 192.168.1.104
Remote: 192.168.1.73
raop_rtp_mirror starting mirroring
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  150 (XVideo)
  Minor opcode of failed request:  19 ()
  Serial number of failed request:  103
  Current serial number in output stream:  104

Any ideas?
There isn't even a window that appears when starting it, if that should happen.

distro: Arch Linux
de: plasma/kde

How to install decoder?

If I run uxplay on debug mode, I can see I am missing decoder H.264. I am not sure what to install this decoder, any help is appreciated.

Running Kubuntu 20.04.

Local: 192.168.0.42
Remote: 192.168.0.23
raop_ntp receive timeout
Accepted IPv4 client on socket 30
Local: 192.168.0.42
Remote: 192.168.0.23
raop_rtp_mirror starting mirroring
0:00:06.155987905 99303 0x5649749049e0 WARN               decodebin gstdecodebin2.c:4678:gst_decode_bin_expose:<decodebin0> error: no suitable plugins found:
Missing decoder: H.264 (video/x-h264, stream-format=(string)byte-stream)

0:00:06.195054795 99303 0x564974904a40 WARN                 basesrc gstbasesrc.c:3072:gst_base_src_loop:<video_source> error: Internal data stream error.
0:00:06.195096021 99303 0x564974904a40 WARN                 basesrc gstbasesrc.c:3072:gst_base_src_loop:<video_source> error: streaming stopped, reason not-linked (-1)
0:00:06.195189951 99303 0x564974904a40 WARN                   queue gstqueue.c:988:gst_queue_handle_sink_event:<queue0> error: Internal data stream error.
0:00:06.195210395 99303 0x564974904a40 WARN                   queue gstqueue.c:988:gst_queue_handle_sink_event:<queue0> error: streaming stopped, reason not-linked (-1)

iPad can not find the server

Hi,
Thanks for this great project! The build was done very quickly and without a problem.
But unfortunately, I cannot connect via an iPad, problem is that I don't see the server name when I
open screen mirroring from quick actions.
This is what I got from the application execution:

$ GST_DEBUG=3 ./uxplay -n myserver
0:00:00.090240496 77304 0x555fb1d5e640 FIXME                default gstutils.c:3980:gst_pad_create_stream_id_internal:<video_source:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:00.100473346 77304 0x555fb1d5e860 FIXME                default gstutils.c:3980:gst_pad_create_stream_id_internal:<audio_source:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
Initialized server socket(s)
*** WARNING *** The program 'uxplay' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>

What could be the issue? I'm using ArchLinux.

iPad doesn't detect UxPlay server.

I am runningUxPLay in Ubuntu 20.04.1 LTS. When I put the command ./uxplay on a terminal the following messages appear :

Initialized server socket(s)
*** WARNING *** The program 'uxplay' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/blog/projects/avahi-compat.html

This should be ok. However, if now I open "Screen Mirroring" on my iPad, it doesn't detect the UxPlay server.

Window doesn't show up

I've checked #38 and #2 and I've tried all the solutions in there to try and get a window to pop up, but nothing works.

The iphone sees UxPlay are an option when I click on Airplay but when I click on it, it gives me an error pop up saying that It couldn't connect after about half a minute.

I'm running Ubuntu 21.04
I'm also getting this warning when running uxplay

Initialized server socket(s)
*** WARNING *** The program 'uxplay' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>

Connection issue

Runs great, I have found one issue. If I stop mirroring, and quit uxplay in terminal. If I run uxplay again without closing terminal it won't work, it looks like is running fine, but ipad won't connect. I have to complete restart a new terminal session and then launch uxplay, then ipad connects and mirror gui is launched. I was able to duplicate this issue a few times.

I'll see if I can dig in a bit more.

How to run on a raspberry pi

I've been following the development of this and rpiplay.
I don't have much knowledge of gstreamer but I've compiled the project successfully on pi Stretch and ran it with the same parameters as rpiplay. I can connect to it with an iphone and ipad and connection information is shown in the terminal windows.
Unlike rpiplay I am not getting the ios screen output. Can you provide some more information on execution?

Screen Mirroring is blurry on 5Ghz wifi

I am using Pop OS 20.10. My iPad is successfully being mirrored to my laptop, but the only thing that troubles me a little is the quality. The iPad screen is looking blurry despite using a 5Ghz Wifi network.

Is there something I can do? Is it because of my network?

UxPlay doesn't restart streaming after the window is closed

If you start the mirroring and then close the window, UxPlay keeps running in the background and then you cannot see the iPad screen again unless you kill uxplay process.

I went through the UxPlay source code, but I wasn't able to figure out how it manages its window streaming. I thought this would be just a matter of using a callback and checking a window status, but, well, couldn't do it.

I think a solution would be to stop the whole thing when the window is closed, but I didn't find any callback to trigger when the window is closed... Is it hard to implement?

How to watch the stream?

I successfully compiled the program, got it running and connected my iPhone. However I can't find any info on how to watch the stream. Some additional steps on how to use the program in the README would be useful

Mirror Stream to H264 V4L2 device

Would like to forward the mirror stream to an application which accepts h264 streams only from V4L2 devices.

Perhaps UxPlay -> v4l2loopback via gstreamer ?

Or is gstreamer not necessary as middleman ?

Would appreciate any help and/or insight as to how either of these could be accomplished (setting up the V4L2loopback device and configuring GST to sending the stream to it or sending stream directly to a V4L2loopback device).

Thanks!

Unable to stream screen on Fedora 32

Hi, I successfully built the project on Fedora 32 but when I try to use Airplay from the iPad and click on "UxPlay" nothing happens and after a while I get an error saying "Unable to connect to UxPlay". I have tried with a 5ghz wifi network (using my Android phone as a wifi hotspot and my house wifi).

iPad unable to connect

Hi.
I was using uxplay for a while without issues on Manjaro but yesterday I was suddenly unable to connect to the server from my iPad.

The console doesn't show anything appart from the avahi warnings. I tried turning on debugging but still nothing. Tried to restart avahi-daemon, nothing.

The iPad sees the server but when selected it just loads indefinitely and then says it's unable to connect.

There was a recent xorg update on Manjaro, maybe that's the problem?

Thanks

no video pop-up for Ubuntu 20.04

Everything looks fine at the first glance.
The iPad connects to UxPlay.
But there is no video pop-up opening for Ubuntu 20.04.

./uxplay
Initialized server socket(s)
*** WARNING *** The program 'uxplay' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>
Accepted IPv4 client on socket 23
Local: 192.168.179.160
Remote: 192.168.179.139
Accepted IPv4 client on socket 30
Local: 192.168.179.160
Remote: 192.168.179.139
raop_rtp_mirror starting mirroring

After awhile:
´´´
raop_ntp receive timeout
´´´

Any ideas?

firewall fixes; also people should know that uxplay features have been merged back to RPiPlay (also on github)

So RPiPlay is where active development continues. It compiles for all linux platforms, (+ maybe macos)
You can now run RPiPLay instead of UxPlay on a non-raspberry-pi machine.

-----------------------also----------------------------------------------------------------------------------
In the Pull requests for RPiPlay there is a simple change #196 opened by Waester to use the apple standard ports
(see Pull request "Use static ports" at github FD-/RPiPlay) udp 6000, 6001, 7011; tcp: 7000, 7100
so it works through a firewall with those ports open.

to fix the uxplay code to use these ports:
edit UxPlay/uxplay.cpp line 250: replace "unsigned short port = 0;"
by "unsigned short port = 7000;"

edit UxPlay/lib/raop_ntp.c line 192: replace "unsigned short tport = 0;"
by "unsigned short tport = 7011;"

edit UxPlay/lib/raop_rtp.c line 231: replace "unsigned short cport = 0, dport = 0;"
by "unsigned short cport = 6001, dport = 6000;"

edit UxPlay/lib/raop_rtp_mirror.c line 489: replace "unsigned short dport = 0"
by "unsigned short dport = 7100;"

(i.e., just replace 0 by 7000, 7011, 6001, 6000, and 7100 in these files)

Then open firewall ports 6000, 6001, 7011 as udp, and ports 7000, 7100 as tcp
UxPlay will then work with a firewall running.

No gui window show up when I run uxplay

When I run $./uxplay, nothing shows up. If I run $GST_DEBUG=3 ./uxplay, I get the following message. Any suggestions?

0:00:00.016992171 975557 0x55a209257240 FIXME default gstutils.c:3980:gst_pad_create_stream_id_internal:<video_source:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:00.021667555 975557 0x55a209257460 FIXME default gstutils.c:3980:gst_pad_create_stream_id_internal:<audio_source:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
Initialized server socket(s)
*** WARNING *** The program 'uxplay' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/blog/projects/avahi-compat.html

Works on fedora but doesn't on arch

Works perfectly on fedora 32
but on arch the program runs but nothing shows up on iOS when hitting Screen Mirroring.

I am using a 5GHz connection (intel 6235 wifi)

Also is there a way to print logs? Thank you

Avahi Warning message when starting uxplay

I might look really stupid, but how do I start the server? Which command do I have to type in?

Thanks a lot!

Ok now I know that you can start it with ./uxplay

But then I get a warning message:

** WARNING *** The program 'uxplay' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/blog/projects/avahi-compat.html

What can I do to fix?!

Another make error

Hi. I wasn't able to complete the installation because I get the following error in the make step.

[ 62%] Building C object lib/CMakeFiles/airplay.dir/dnssd.c.o
/home/calderon/UxPlay-master/lib/dnssd.c:38:10: fatal error: dns_sd.h: No such file or directory
#include <dns_sd.h>

Any ideas on how to fix it?

Error in CMakeLists.txt prevents from installing from out-of-source build

When using the building steps outlined in the current README, UxPlay does not install due to the resulting executable (uxplay) not being properly referenced:

[ 23%] Built target plist
[ 26%] Built target curve25519
[ 46%] Built target ed25519
[ 57%] Built target playfair
[ 91%] Built target airplay
[ 96%] Built target renderers
[100%] Built target uxplay
Install the project...
-- Install configuration: "Release"
CMake Error at cmake_install.cmake:41 (file):
  file INSTALL cannot find "/home/user/UxPlay/uxplay": No such file
  or directory.


make: *** [Makefile:86: install] Error 1

No window showing on NixOs

If I start uxplay I get the following message

GST_DEBUG=3 ./uxplay
0:00:00.036785296  5672       0xf9be40 FIXME                default gstutils.c:4025:gst_pad_create_stream_id_internal:<video_source:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:00.041039828  5672       0xf9c060 FIXME                default gstutils.c:4025:gst_pad_create_stream_id_internal:<audio_source:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
Initialized server socket(s)
*** WARNING *** The program 'uxplay' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>

I can see and select UxPlay on the iPad (same wifi network), but no window is showing and I get no further debug information about a connection on the console.

Any idea how to fix this? Does the firewall block something?

raop_ntp receive timeout

the audio works but there is not any video on Ubuntu 20.04.

╭─root@tant ~/UxPlay/build ‹master*›
╰─# ./uxplay
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e.g. happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e.g. happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
Initialized server socket(s)
*** WARNING *** The program 'uxplay' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/blog/projects/avahi-compat.html
Accepted IPv4 client on socket 26
Local: 192.168.0.100
Remote: 192.168.0.107
Accepted IPv4 client on socket 28
Local: 192.168.0.100
Remote: 192.168.0.107
raop_rtp_mirror starting mirroring
raop_ntp receive timeout

p.s.
It's the same with command ./uxplay -a

Make returns an error

Hello,

I followed the installation steps but when I reach "make" it returns an error that I do not understand:

[100%] Linking CXX executable uxplay
lib/libairplay.a(crypto.c.o) : Dans la fonction « aes_reset » :
/home/zach/10_Soft/UxPlay-master/lib/crypto.c:98 : référence indéfinie vers « EVP_CIPHER_CTX_reset »
lib/libairplay.a(crypto.c.o) : Dans la fonction « sha_init » :
/home/zach/10_Soft/UxPlay-master/lib/crypto.c:175 : référence indéfinie vers « EVP_MD_CTX_new »
lib/libairplay.a(crypto.c.o) : Dans la fonction « sha_reset » :
/home/zach/10_Soft/UxPlay-master/lib/crypto.c:197 : référence indéfinie vers « EVP_MD_CTX_reset »
lib/libairplay.a(crypto.c.o) : Dans la fonction « sha_destroy » :
/home/zach/10_Soft/UxPlay-master/lib/crypto.c:206 : référence indéfinie vers « EVP_MD_CTX_free »
collect2: error: ld returned 1 exit status
CMakeFiles/uxplay.dir/build.make:101 : la recette pour la cible « uxplay » a échouée
make[2]: *** [uxplay] Erreur 1
CMakeFiles/Makefile2:72 : la recette pour la cible « CMakeFiles/uxplay.dir/all » a échouée
make[1]: *** [CMakeFiles/uxplay.dir/all] Erreur 2
Makefile:127 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2
[100%] Linking CXX executable uxplay

Do you have any idea how I can solve this?
Do you need the complete make output?

Error on start of application

I have a fresh KDE Neon installation, after having built UxPlay without errors, i get

$ ./uxplay
Required gstreamer plugin 'autodetect' not found
uxplay: /home/stefanof/UxPlay/renderers/video_renderer_gstreamer.c:63: video_renderer_init: Assertion `check_plugins ()' failed.
[1]    60553 abort      ./uxplay

No additional log can be found.

Several issues on this one: missing application name/title, application icon and also cannot close application window.

This one has several issues on Ubuntu 20.04.2 LTS fully patched.

Running a locally compiled UxPlay with the following git log output:

$ git log
commit 6a473d6026480c47b6d9f1b2d619039da3cd36ba (HEAD -> master, origin/master, origin/HEAD)
Author: antimof <[email protected]>
Date:   Thu May 7 09:22:39 2020 +0300

    Check availability of necessary Gstreamer plugins

Issues noted (see screenshot):

  1. Application is unknown to the OS
  2. Application has no name/title - most likely causing issue 1 above
  3. Application has no icon
  4. Application cannot be closed by clicking the close icon in top top left of application or via ALT+F4

Unable to connect

Unable to connect

Unable to connect and iPad can't find it

Info

  • Laptop: Arch Linux x86_64
  • iPad: iPadOS 14.4.2

Konsole

iPad

I tried the ways below, but it still didn't work:

  1. Turn off the firewall
  2. Make sure my iPad and laptop connected to the same 5GHz WiFi
  3. Try using the self compiled version and the version in the Arch User Repository
  4. No proxy used

The only hint I get is output from Konsole but I don't know how to fix it.

I would be very grateful if the developer could provide a solution.

Thanks!

segmentation fault

Initialized server socket(s)
*** WARNING *** The program 'uxplay' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>
Accepted IPv4 client on socket 24
Local: 192.168.165.117
Remote: 192.168.165.242
raop_ntp receive timeout
Accepted IPv4 client on socket 26
Local: 192.168.165.117
Remote: 192.168.165.242
raop_rtp_mirror starting mirroring
Segmentation fault (core dumped)

making UxPlay compatible with Ubuntu 16.04?

I tried to see whether I could make UxPlay run with Ubuntu 16.04. I upgraded openSSL to version 1.1.1h and then edited the file link.txt in the CMakefiles/uxplay.dir directory to point to the correct version of librcypt.so on my computer. Running make then ran without errors.

After starting uxplay and trying to connect an iPad, I immediately got a segmentation fault (The iPad saw the uXplay server and the uXplay server established the connection).

So I guess there are other dependencies that are not compatible with ubuntu 16.04. If these are simple manual upgrade issues, I can try to to this. It is not terribly urgent though, since at some point I will be upgrading to 18.04.

Any suggestions are welcome. Thanks in advance.

Enhancement request - make UxPlay airplay name match hostname or be configurable

I'm eager to install UxPlay on all the Linux systems at home. Right now, the airplay name shows up as 'UxPlay'. I'd like to have multiple computers running UxPlay and have a way to set the name that shows up (other than editing the source and recompiling :) - I believe that simply adopting the hostname for the UxPlay name would be a good solution.

connecting but no window

I was able to compile uxplay with no issue; after disabling the firewall, I seem to be able to connect (from ipad pro), but no window with the mirrored screen is appearing. The ipad seems to think it is mirrored to uxplay. There are connection closed messages when clicking "stop mirroring" on the ipad.

This is on ubuntu:

Linux version 5.4.0-66-generic (buildd@lgw01-amd64-039) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #74-Ubuntu SMP Wed Jan 27 22:54:38 UTC 2021

[code]
% ./uxplay
Initialized server socket(s)
*** WARNING *** The program 'uxplay' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/blog/projects/avahi-compat.html
Accepted IPv4 client on socket 29
Local: 10.0.0.7
Remote: 10.0.0.4
Accepted IPv4 client on socket 31
Local: 10.0.0.7
Remote: 10.0.0.4
raop_rtp_mirror starting mirroring
raop_ntp receive timeout
[/code]

iPad is not kicked from streaming when another iPad connects

As the title says, when one iPad connect streaming works fine. When a second iPad connects the first one isn't kicked from the connection, but the video streams somehow merge and give some very weird results. See image. When moving content on either iPad the image on the computer reflects this but elements of both iPad's screens are displayed.

To reproduce:

  1. Start uxplay
  2. Connect an iPad to screen mirroring
  3. Connect a second iPad to screen mirroring
  4. Mayhem

I don't know if the same issue appears with other iDevices but I imagine it does

My uxplay version as reported by yay (from the AUR): r17.6a473d6-1

UxPlay can not connect

Hello,
I have a problem connecting my Ipad using UxPlay. I am running ubuntu 20.0.4 Focal. I fire uxplay using ./uxplay. When I click on my Ipad the button to mirror screen I can see uxplay has been discovered, but when I click on it nothing happen. I can the the wheel on my iPad running but nothing show up on my screen. I have tested various solutions, including changing the video sink etc... but it seems that the iPad can not connect. I have even disabled secure boot.
Does anyone has a solution ?

UxPlay crashes when try to connect

I am currently running Kubuntu 20.04 LTS on AMD Ryzen 7 2700X / NVIDIA GeForce 1060 3GB, when I try to connect to uxplay, it crashes immediately with these outputs:

[haswell@RAILGUN:~/UxPlay/build$] ./uxplay
Initialized server socket(s)
*** WARNING *** The program 'uxplay' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>
Accepted IPv4 client on socket 28
Local: 192.168.39.39
Remote: 192.168.39.184
Accepted IPv4 client on socket 30
Local: 192.168.39.39
Remote: 192.168.39.184
raop_rtp_mirror starting mirroring
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 150 (XVideo)
Minor opcode of failed request: 19 ()
Serial number of failed request: 103
Current serial number in output stream: 104

Any ideas for this? Thanks.

Connection via USB instead of Wi-Fi

This software is very useful. However, due to the bandwidth it requires, it would be extremely useful if sharing could also be done via USB cable. Are there any prospects for making this work?

Will not start with gstreamer1.0-vaapi installed on PopOS 20.10

Hi, I am trying to run this after building from source, and I have heard several people say that I need to remove the gstreamer1.0-vaapi package for Intel Graphics (I am using an Nvidia graphics card). However, gstreamer1.0-vaapi seems to be a requirement for the pop-desktop component. Is there a workaround for this so that I can run UxPlay without removing gstreamer1.0-vaapi?

After running ./uxplay and mirroring, here is the output that I get.

Initialized server socket(s)
*** WARNING *** The program 'uxplay' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/blog/projects/avahi-compat.html
Accepted IPv4 client on socket 19
Local: 192.168.131.252
Remote: 192.168.131.71
raop_ntp receive timeout
Accepted IPv4 client on socket 26
Local: 192.168.131.252
Remote: 192.168.131.71
raop_rtp_mirror starting mirroring

I looked through the code but could not find the part of the source that refers to the gstreamer-vaapi package specifically.

Fullscreen operation

Hi,

Would anyone have any advice how to run ExPlay in full screen rather than in a window, similarly to RPiPlay?

Thx

make: "dns_sd.h: No such file or directory"

Thanks for making this. I'm having a problem with the build, in that it can't find a header file. After 'make' I get:

$ make
[ 23%] Built target plist
[ 26%] Built target curve25519
[ 46%] Built target ed25519
[ 57%] Built target playfair
[ 58%] Building C object lib/CMakeFiles/airplay.dir/dnssd.c.o
UxPlay-master/lib/dnssd.c:38:10: fatal error: dns_sd.h: No such file or directory
 #include <dns_sd.h>
          ^~~~~~~~~~
compilation terminated.

One common fix for this is to install a libavahi-compat-libdnssd-dev, but in my case it's already installed:

$ sudo apt-get install libavahi-compat-libdnssd-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libavahi-compat-libdnssd-dev is already the newest version (0.8-3ubuntu1).

How does one resolve this dependency? (Ubuntu 20.10)

Multiple streaming devices support

Hi, I tried this app and it works great for a single device. However, when I try to stream from 2 apple devices in parallel, seems like streams just overlap each other within the same window. Noticed the same issue on RPiPlay as well. Is there any way to run multiple streams?

OS: Ubuntu 20.04
Apple devices: iPhone and iPad

Works in private networks but not in a public network

Hi, this project is a great tool and it works really well.
Yet, it only works with a workaround on my company / a public network.
I need my smartphone to generate a hotspot onto which I connect with the iPad and the Linux PC
What could be the reason that it does not work for the public WLAN out of the box?
Is there something I can do to make it work?

It's just the 1% missing to make it perfect, sorry ;-)
Best regards,
Lukas

Window has no title

Hello :)
Since the Airplay-showing window has no Title it is impossible to share this window within a BigBlueButton-session (probably other video-conferencing-tools, too)
I'm afraid that I don't understand the sourcecode deep enough to figure out where the window is created to set an apropriate name.

It would be GREAT if you could add this.
sincerely,
Jesko

Only garbage in the stream window

Thanks for this cool project!

Unfortunately I only see garbage in the stream from my iPhone 7 (iOS 13.6). Running on a ThinkPad W540 with a Nvida.
First I had no pic at all, then I followed the help in #2 and changed the videosink.

Any ideas?

Segmentation fault on Ubuntu 20.10

Hi,

I could install UxPlay without issues. After running uxplay I can find it with my iPad, but when I try to connect I get a Segmentation fault error.
Here is the full screen log:

Initialized server socket(s)
*** WARNING *** The program 'uxplay' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/blog/projects/avahi-compat.html
Accepted IPv4 client on socket 23
Local: xxxx
Remote: xxxx
raop_ntp receive timeout
Accepted IPv4 client on socket 26
Local: xxxx
Remote: xxxx
raop_rtp_mirror starting mirroring
Segmentation fault (core dumped)

I'm using Ubuntu 20.10 and a Intel graphics card (UHD Graphics 620 (Whiskey Lake))

Any idea how to fix it?

UxPlay Window do not show up

UxPlay starts, but a window do not show up.

Prompt shows:

libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0

No Window Showing

It looks like they devices connected successfully, but I get no window on the laptop that shows the ipad screen.

Audio disabled
Initialized server socket(s)
*** WARNING *** The program 'uxplay' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>
Accepted IPv4 client on socket 19
Local: 10.0.30.76
Remote: 10.0.30.65
httpd receiving on socket 19
conn_request
Handling request GET with URL /info
INFO len = 1640618284
httpd receiving on socket 19
conn_request
Handling request POST with URL /pair-setup
httpd receiving on socket 19
conn_request
Handling request POST with URL /pair-verify
httpd receiving on socket 19
conn_request
Handling request POST with URL /pair-verify
httpd receiving on socket 19
conn_request
Handling request POST with URL /fp-setup
httpd receiving on socket 19
conn_request
Handling request POST with URL /fp-setup
httpd receiving on socket 19
conn_request
Handling request SETUP with URL rtsp://10.0.30.76/8521857286510430616
DACP-ID: 50ED59909315BFC7
Active-Remote: 4066986339
Transport: null
SETUP 1
eiv_len = 16
ekey_len = 72
fairplay_decrypt ret = 0
timing_rport = 50192
raop_ntp parse remote ip = 10.0.30.65
raop_ntp starting time
raop_rtp parse remote ip = 10.0.30.65
raop_rtp_mirror parse remote ip = 10.0.30.65
eport = 38825, tport = 58547
raop_ntp send_len = 32
raop_ntp receive timeout
raop_ntp exiting thread
Accepted IPv4 client on socket 21
Local: 10.0.30.76
Remote: 10.0.30.65
httpd receiving on socket 19
conn_request
Handling request GET with URL /info
INFO len = 1640618284
httpd receiving on socket 19
conn_request
Handling request GET_PARAMETER with URL rtsp://10.0.30.76/8521857286510430616
httpd receiving on socket 19
conn_request
Handling request RECORD with URL rtsp://10.0.30.76/8521857286510430616
raop_handler_record
httpd receiving on socket 19
conn_request
Handling request SET_PARAMETER with URL rtsp://10.0.30.76/8521857286510430616
httpd receiving on socket 19
conn_request
Handling request SETUP with URL rtsp://10.0.30.76/8521857286510430616
DACP-ID: 50ED59909315BFC7
Active-Remote: 4066986339
Transport: null
type = 110
streamConnectionID = 9470809248850660335
raop_rtp_mirror starting mirroring
Mirroring initialized successfully
raop_rtp_mirror accepting client
raop_rtp_mirror width_source = 1298.000000 height_source = 972.000000 width = 1356.000000 height = 1016.000000
raop_rtp_mirror sps size = 18
raop_rtp_mirror pps size = 4
raop_rtp_mirror video ntp = 122712028884, now = 1614233926813314, latency = 1614111214784430
raop_rtp_mirror video ntp = 122712062237, now = 1614233926813399, latency = 1614111214751162
raop_rtp_mirror video ntp = 122712087253, now = 1614233926813433, latency = 1614111214726180
raop_rtp_mirror video ntp = 122712103929, now = 1614233926813449, latency = 1614111214709520
raop_rtp_mirror video ntp = 122712120606, now = 1614233926813458, latency = 1614111214692852
raop_rtp_mirror video ntp = 122712137283, now = 1614233926813471, latency = 1614111214676188
raop_rtp_mirror video ntp = 122712153960, now = 1614233926826585, latency = 1614111214672625
raop_rtp_mirror video ntp = 122712170637, now = 1614233926826648, latency = 1614111214656011
raop_rtp_mirror video ntp = 122712187314, now = 1614233926826667, latency = 1614111214639353
raop_rtp_mirror video ntp = 122712270698, now = 1614233926836654, latency = 1614111214565956
raop_rtp_mirror video ntp = 122712287374, now = 1614233926836722, latency = 1614111214549348
raop_rtp_mirror video ntp = 122712304051, now = 1614233926854235, latency = 1614111214550184
raop_rtp_mirror video ntp = 122712320728, now = 1614233926871918, latency = 1614111214551190
raop_rtp_mirror video ntp = 122712337405, now = 1614233926886411, latency = 1614111214549006
raop_rtp_mirror video ntp = 122712354082, now = 1614233926901918, latency = 1614111214547836
raop_rtp_mirror video ntp = 122712370759, now = 1614233926919851, latency = 1614111214549092
raop_rtp_mirror video ntp = 122712387436, now = 1614233926938108, latency = 1614111214550672
raop_rtp_mirror video ntp = 122712404102, now = 1614233926986142, latency = 1614111214582040
raop_rtp_mirror video ntp = 122712420769, now = 1614233927004832, latency = 1614111214584063
raop_rtp_mirror video ntp = 122712437436, now = 1614233927019918, latency = 1614111214582482
httpd receiving on socket 19
conn_request
Handling request POST with URL /feedback
raop_handler_feedback
raop_rtp_mirror video ntp = 122714005088, now = 1614233928588651, latency = 1614111214583563
raop_rtp_mirror video ntp = 122714021755, now = 1614233928611200, latency = 1614111214589445
raop_rtp_mirror video ntp = 122714038422, now = 1614233928627987, latency = 1614111214589565
raop_rtp_mirror video ntp = 122714055088, now = 1614233928643469, latency = 1614111214588381
httpd receiving on socket 19
conn_request
Handling request POST with URL /feedback
raop_handler_feedback
httpd receiving on socket 19
conn_request
Handling request POST with URL /feedback
raop_handler_feedback
httpd receiving on socket 19

UxPlay Version: 6a473d6

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Pop
Description:	Pop!_OS 20.04 LTS
Release:	20.04
Codename:	focal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.