FD-/RPiPlay

Nothing happens when trying to screenshare

Strimis10 opened this issue · 10 comments

So when I start the program on my 3B (Raspian lite) this is what I get:

pi@raspberrypi:~/RPiPlay/build $ sudo ./rpiplay
Initialized server socket(s)
*** WARNING *** The program 'rpiplay' 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

Then when I screenshare from my iphone (ios 15.7.2) I get this in the terminal:

pi@raspberrypi:~/RPiPlay/build $ sudo ./rpiplay
Initialized server socket(s)
*** WARNING *** The program 'rpiplay' 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 14
Local: 192.168.68.64
Remote: 192.168.68.59
Accepted IPv4 client on socket 16
Local: 192.168.68.64
Remote: 192.168.68.59
raop_rtp_mirror starting mirroring

which I assume is the right stuff, but there's no picture, like nothing at all, the iphone says that it's connected and obviously it is but nothing is shown on the monitor and there's no sound... I've read through a couple of threads that have similar issues but either they just say "oh it's fixed now" or there's no sulution

I just see the exact same problem. Compiled version from master branch (11 Jan 2022)
Using raspberry PI4.

yrflx commented

I had the same problem. did you find the solution or other option?

Same problem for me @FD- maybe you could check whether this is still supposed to work with newer iOS versions and stuff

kohpai commented

Same problem, would love to be able to use this again.

Same problem here as well :(
I used this all the time a few years ago and wanted to start using it again.

facing a similar issue !!

installed this on ubuntu machine on linux. but the screen is showing nothing.

Initialized server socket(s)
*** WARNING *** The program 'rpiplay' 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 31
Local: 10.0.0.246
Remote: 10.0.0.240
Accepted IPv4 client on socket 33
Local: 10.0.0.246
Remote: 10.0.0.240
raop_ntp receive timeout
raop_ntp receive timeout
raop_ntp receive timeout
raop_ntp receive timeout
Connection closed for socket 33
Destroying connection
Connection closed for socket 31
Destroying connection
Accepted IPv4 client on socket 31
Local: 10.0.0.246
Remote: 10.0.0.240
Accepted IPv4 client on socket 33
Local: 10.0.0.246
Remote: 10.0.0.240
^CStopping...
Removing connection for socket 31
Destroying connection
Removing connection for socket 33
Destroying connection

I think I have figured it out. The problem is with the ports used by RPiPlay. RPiPlay needs TWO ports to work. Below is how I used UxPlay on my Arch Linux:

uxplay -n "My Arch" -nh -p 30443,30444

If I used only one port, I can reproduce the problem, i.e. nothing happens after a connection. Therefore, I suggest anyone with this problem check your firewall first if it has the "allow some, deny all" policy. Basically, just make sure you have the two ports used by RPiPlay open. (I think by default these two ports are random)

I had the same problem. Looks like the're some renderer setup issue.
dummy audio and video renderers are default option
but when i try to start RPiPlay with parameters -vr rpi i get "Unable to locate video renderer "rpi"."
when i try to start RPiPlay -v i get
-vr renderer Set video renderer to use. Available renderers:
dummy: Dummy renderer; does not actually display video [Default]
-ar renderer Set audio renderer to use. Available renderers:
dummy: Dummy renderer; does not actually play audio [Default]
So the're nothing but dummy renderers for audion and video