Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Screen Mirroring does not work #1

Open
ashishsantikari opened this issue Sep 29, 2021 · 40 comments
Open

Screen Mirroring does not work #1

ashishsantikari opened this issue Sep 29, 2021 · 40 comments
Labels
bug Something isn't working

Comments

@ashishsantikari
Copy link

Hi,

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

@rahul-thakoor
Copy link
Owner

rahul-thakoor commented Sep 29, 2021

Hi, thanks for using Air Pi Play @ashishsantikari

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

@loggic-debug
Copy link

loggic-debug commented Sep 29, 2021

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
Copy link

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

@rahul-thakoor
Copy link
Owner

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

@loggic-debug
Copy link

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

@loggic-debug
Copy link

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

@rahul-thakoor
Copy link
Owner

thanks. investigating the issue

@rahul-thakoor rahul-thakoor added the bug Something isn't working label Sep 29, 2021
@loggic-debug
Copy link

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

@loggic-debug
Copy link

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

@rahul-thakoor
Copy link
Owner

oh! i only tested with iOS 14.4

thanks for the additional info

@loggic-debug
Copy link

Macos image

  • this
    Ipad
    IMG_0243

Iphone
Latest IOS 15

@ashishsantikari
Copy link
Author

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
Copy link
Owner

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
Copy link

loggic-debug commented Sep 29, 2021 via email

@rahul-thakoor
Copy link
Owner

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

@rahul-thakoor
Copy link
Owner

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

@notnowdog
Copy link

notnowdog commented Oct 4, 2021

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
Copy link
Owner

I think the Pi Zero W might be struggling.

@ashishsantikari
Copy link
Author

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
Copy link
Owner

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
Copy link

jbabio commented Oct 8, 2021

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.

@s0m3d3v
Copy link

s0m3d3v commented Oct 9, 2021

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
Copy link
Owner

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

@s0m3d3v
Copy link

s0m3d3v commented Oct 12, 2021

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
Copy link

jbabio commented Oct 12, 2021

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

@ryanseddon
Copy link

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
Copy link
Owner

rahul-thakoor commented Oct 14, 2021

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

@tdaloze
Copy link

tdaloze commented Oct 14, 2021

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
Copy link
Owner

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
Copy link

tdaloze commented Oct 14, 2021 via email

@rahul-thakoor
Copy link
Owner

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

@tdaloze
Copy link

tdaloze commented Oct 15, 2021

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
Copy link

Fredfars commented Dec 10, 2021

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
Copy link

Ikkeson commented Dec 12, 2021

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
Copy link

jbabio commented Dec 12, 2021

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

@pareshgami
Copy link

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

@lukmanlah
Copy link

lukmanlah commented Mar 22, 2022

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
Copy link
Owner

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
Copy link

Still same issue

aacDecoder_DecodeFrame

@rahul-thakoor
Copy link
Owner

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests