rahul-thakoor/balena-rpiplay

Screen Mirroring does not work

ashishsantikari opened this issue · 40 comments

Hi,

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

Hi, thanks for using Air Pi Play @ashishsantikari

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

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

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

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

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

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

thanks. investigating the issue

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

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

oh! i only tested with iOS 14.4

thanks for the additional info

Macos image

  • this
    Ipad
    IMG_0243

Iphone
Latest IOS 15

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 :)

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?

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

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

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

I think the Pi Zero W might be struggling.

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.

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

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.

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...

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

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.

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

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

Hi @ryanseddon see : #5

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

I have tried with seven and it works

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.

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

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

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.

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..

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

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

@rahul-thakoor Video stream not working from iPhone 7. All other screens work, app shows, Just video not playing in monitor.

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

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?

Still same issue

aacDecoder_DecodeFrame

@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