rahul-thakoor / balena-rpiplay

Turn a Raspberry Pi into an Airplay server using RPiPlay to enable screen mirroring on tvs, monitors and projectors.
https://github.com/FD-/RPiPlay
1.41k stars 57 forks source link

Screen Mirroring does not work #1

Open ashishsantikari opened 2 years ago

ashishsantikari commented 2 years ago

Hi,

I could see the device on the Airplay option but connecting to it does not do anything. The balenaEtcher logo displays

rahul-thakoor commented 2 years ago

Hi, thanks for using Air Pi Play @ashishsantikari

Can you please share more details? What device are you using?

loggic-debug commented 2 years ago

Hello @rahul-thakoor ,

same issue here isntalled 4 Times exactly correct also Balena cloud says its succeed but i just see logo display. if i connect with my iphone or ipad or mac with the airplay which shows up on my device. nothing changes. its like freezed. I installed it exactly like the guide. Raspberry Pi the newest version and all of them the newest versions of softwarein use.

image
loggic-debug commented 2 years ago

add: my apple devices telling me that they are succesful connected but screen mirroring still logo freeze on my tv

rahul-thakoor commented 2 years ago

@loggic-debug which raspberry pi device are you using?

loggic-debug commented 2 years ago

the last version i guess 4 64 bit if i am not wrong

loggic-debug commented 2 years ago

raspberry pi 4 4GB 182-2096 @rahul-thakoor

rahul-thakoor commented 2 years ago

thanks. investigating the issue

loggic-debug commented 2 years ago

happy to help and for a fix.... its great if it works _ my friends are waiting for it :P

loggic-debug commented 2 years ago

sorry for spamming - probably update fail of IOS 15 or MacOS or IpadOS?

rahul-thakoor commented 2 years ago

oh! i only tested with iOS 14.4

thanks for the additional info

loggic-debug commented 2 years ago

Macos image

Iphone Latest IOS 15

ashishsantikari commented 2 years ago

I am also trying to fix as I desperately want to go cordless. I am trying to replace rpiPlay with uxPlay. I created a fork out of your project. Not sure if I can fix it soon because I am not skilled in shell :| I would love some collaboration on it :)

rahul-thakoor commented 2 years ago

Hi @ashishsantikari @loggic-debug I was able to reproduce the issue. It seems there was some library incompatibility issues with the latest raspbian base image. I pinned to buster and works for me.

Can you please test?

loggic-debug commented 2 years ago

Oh nice i will test it asap… that means just install kt regular again?

Am 29.09.2021 um 18:51 schrieb Rahul Thakoor @.***>:

 Hi @ashishsantikari @loggic-debug I was able to reproduce the issue. It seems there was some library incompatibility issues with the latest raspbian base image. I pinned to buster and works for me.

Can you please test?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

rahul-thakoor commented 2 years ago

No need to install again. Your device should download the latest updates automatically. Just wait for a few minutes :)

rahul-thakoor commented 2 years ago

@ashishsantikari @loggic-debug would be grateful if you could test and give a feedback if the issue is fixed for you. thanks

notnowdog commented 2 years ago

It was working once for me when I used "Screen Mirroring" initially. Then just stopped. Was never able to connect again. iPhone 7 (iOS 14.8) and iPhone SE (iOS 14.8). Once it initially started to play I was more than happy and it was so sad to not happen anymore. :( using Raspberry Pi Zero W

rahul-thakoor commented 2 years ago

I think the Pi Zero W might be struggling.

ashishsantikari commented 2 years ago

It works now. The display is not crisp as connected to HDMI display. Looks like it is not able to pick up the correct display properties.

rahul-thakoor commented 2 years ago

Hi @ashishsantikari

Thanks for the update.

Can you please try to deploy this app to your own account? You will need to sign up with balenaCloud. Then you can use the deploy with balena button in the Readme to deploy the app.

You can then set hdmi configuration on your device. You can see how to set these using balenaCloud here. The settings you may require can be found here

Thanks

jbabio commented 2 years ago

I’m having issues to. When I start to stream, the Balena logo disapears and the screen goes black. No playback occurs. Im using a RPi Zero W with the fleet forked to my account.

moroysn commented 2 years ago

Im using a RPi v1 and have almost the same issue, when i try to stream from ios 15.0.1 the balena logo dissapears and the screen goes black. On my iphone it shows that the vid is still playing tho...

rahul-thakoor commented 2 years ago

I have tested with an RPi v1. Works for me. So not sure what is going on.

Can you confirm you are using the 'Screen mirroring' button from control center?

image

moroysn commented 2 years ago

Yes i used screen mirroring from control center and then it worked, the only problem is it now wont play my show from apple tv+ because gave an error stating that the video structure cant be streamed to this tv.

jbabio commented 2 years ago

Using the ‘Screen mirroring' button from control center works for me too. Trying to stream from the airplay icon on the apps fails.

ryanseddon commented 2 years ago

I'm getting the same as @jbabio I can mirror device just fine and I can also project photos app via airplay and it plays videos fine from there but if I try and airplay apple tv or the fitness+ app I get these errors in the console?

Screen Shot 2021-10-14 at 3 24 30 pm

rahul-thakoor commented 2 years ago

Hi @ryanseddon see : https://github.com/rahul-thakoor/air-pi-play/issues/5

Can you try to leave screen mirroring on and then open the app?

I have tried with seven and it works

tdaloze commented 2 years ago

Hi @rahul-thakoor from Brussels, Belgium. I use it on a Rpi400 and everything works fine (Youtube, photos...) but it doesn't work with Apple TV and that was the goal for me. I get absolutely the same error messages than @ryanseddon and a black screen on my TV. Is there a reason for that issue and a fix ? Kind regards.

rahul-thakoor commented 2 years ago

Hi @tdaloze Thanks for trying the project

Can you please share some more details about your use case?

Apple TV is already an Airplay server so you should already be able to cast from other Apple devices

tdaloze commented 2 years ago

I have an Apple tv but connected on my first tv in the living room. I would like to cast the content of the Apple Tv app from my iphone (ios 15.02) to another tv located in my bedroom wich is not connected to the Apple TV box and I don't intend to buy a second Apple TV box. That's the reason why I was interested by your project. Do you think this could be possible ?

Envoyé de mon iPhone

Le 14 oct. 2021 à 20:46, Rahul Thakoor @.***> a écrit :

 Hi @tdaloze Thanks for trying the project

Can you please share some more details about your use case?

Apple TV is already an Airplay server so you should already be able to cast from other Apple devices

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

rahul-thakoor commented 2 years ago

I see thanks for clarifying @tdaloze I think it might be related to https://github.com/FD-/RPiPlay/issues/7#issuecomment-517991464

tdaloze commented 2 years ago

Thank you for this answer @rahul-thakoor . After having read the posts related to your link (https://github.com/FD-/RPiPlay/issues/7#issuecomment-517991464), it seems that there are no solution until now but some people are working on it. So I hope they will find the way to implement the video protocol for Apple TV+ and Fitness+ Kind regards.

Fredfars commented 2 years ago

Hi @rahul-thakoor when my Pi4 with the burnt sd card boot, It work fine now with mirroring! I use Infuse, excellent app for reading movies, and it don't work..

Ikkeson commented 2 years ago

Tested last night using the Balena image and etcher. After the initial startup it takes a while for the logo screen to appear( which is normal). Then tested with screen mirroring. This works fine for all apps I use (YouTube, Disney+,…). When you open an app and click on AirPlay and select the Pi , the screen goes black and nothing happens. Hardware used is a Raspberry Pi 3 and iPhone with iOS 15.1. Raspberry is connected with WiFi. Thanks

jbabio commented 2 years ago

That is expected behavior, It only works from the 'Screen mirroring' button from control center.

I see thanks for clarifying @tdaloze I think it might be related to https://github.com/FD-/RPiPlay/issues/7#issuecomment-517991464

lukmanlah commented 2 years ago

Hi there.

Just started to flash this yesterday. But i suspect the latest iPadOS/iOS (15.4) causing it to not work? (just my suspicion). When i flashed and booted, and waited for the initial setup to complete (based on the logs display in balenaCloud):

-the balena logo appears on my screen. the airplay device is also shown in my screen mirroring menu. -I am able to select the device and it shows as if its connected (with the tick next to the device selected in the menu) -But nothing appears and my screen and and it turns black. My monitor also pops-up with "no signal detected" and thus goes to sleep

Tested using: -iPad air 4 2020 (iPad OS 15.4) -iPhone 12 (iOS 15.4) -Raspberry Pi 4B (4GB)

I tried to clean and re-flash it again, assuming it was a bad flash, but the symptoms are consistent for me. Since the balena icon when it was displayed had the correct scaling and aspect ratio (looked correct in my eyes for me), i assume the HDMI/monitor settings are already detected correctly. Screenshot 2022-03-22 105847 photo_2022-03-22_11-02-16 photo_2022-03-22_11-02-20

rahul-thakoor commented 2 years ago

hey @lukmanlah i just tried with an iPhone running iOS 15.4 and it works.

Newer balenaOS releases require a new config which i just added. Can you please try to download a newer os image from balena hub and reflash your device please?

arduino43 commented 2 years ago

Still same issue

aacDecoder_DecodeFrame

rahul-thakoor commented 2 years ago

@arduino43 Can you please confirm you are using the screen mirroring option from the control center? described here

That looks like you are trying to cast music directly which is not supported. please see #5