I am trying to airplay content on Samsung TV UA50AUE70AKLXL, it has in-built Airplay 2. Whenever I try to play a video it shows a black screen and then after some time throws the below error. I have tried searching everywhere to find the root cause of the issue but am still unable to find any. Please help in determining what could be the root cause of the issue
//Error
Optional(-11870) Optional("AVFoundationErrorDomain")
//Underlying error
Optional("The operation could not be completed") Optional("An unknown error occurred (-12269)")
What does -12269 signify?
Post not yet marked as solved
For a while now there seem to be an issue with airplay/bluetooth. Im not really sure if it is an hardware or software issue.
A simple uses case is when i airplay from my m1 mac mini, to an homepod mini. There are two main issues:
Bluetooth lag, any action on the mac takes a very long second to take affect on the destination device, in this case the homepod.
Connection lost, every now and then there is a drop in connection, although the mac seems to still stream, the receiver device is losing signals.
After a look into the logs, few error keeps on show:
blutoothd (as process) and the error is: setReportResponse: Unexpected entry on OSX
AirPlayXPCHelper (as process) and the error is: metadataSender_sendAPProgressMetadata:720: got error -6727/0xFFFFE5B9 kNotFoundErr
My question is then is there a way to fix these? i'm not hoping that the lag issue will be resolved entirely but my hope is these are software issues rather than hardware ones.
Post not yet marked as solved
Hello,
We're developing a video streaming service. Can't get the video to stream on AirPlay2-enabled TVs, there is only a loader visible on the tV.
We can only get the sounds to stream to AirPlay2 speakers.
Media Stream Validator and HLS report on the playlists, shows that the video segments are recognized as something but can't process them. "Processed 0 of 600 segments" etc.
We're at a loss on how to debug this. Is there any way to get access to AirPlay 2 logs to see what isn't working?
Post not yet marked as solved
Since iOS 15.4 I am having a serious issue with AirPlay. Please note, this issue is against the AVAudio framework and I reproduced the issue with all projects that run this framework.
For example: React Native TrackPlayer has this problem. Swift Radio Project has this issue too. And also, I found some modules on Github that say they have the same issue.
What happens
When I open my app and start playing my audio stream, it starts playing on the iPhone. When I change the output to my MacBook Pro or HomePod (or any other AirPlay device), there is no sound. The strange thing is that the HomePod lids up, but there is no sound.
When stopping and starting the stream again while connected via AirPlay, it is working correctly. However, switching the output to the iPhone stops the stream again.
What I expected
I expected AirPlay to work as prior iOS 15.4. This means the audio keeps playing when switching from iPhone to HomePod and vice versa. I tested it with older iOS versions (15.2) that was available a few months ago, and it worked perfectly. So it seems this is certainly an issue with the newer versions.
What causes the issue
The issue seems to be only with live audo streams. When I test it with an MP3 (doesn't matter if it is offline or online), it works perfectly fine and as intended. This problem only happens with live audio streams.
I have also sent a bug report many times, but Apple didn't reply and the bug is still there in iOS 15.5. I hoped Apple would be more interested in such breaking bugs.
What I also did, is removing longformAudio en adding mixWithOthers. That works perfectly, but then the controls on the Control Center and home screen are missing, of course.
Is there any way to solve it or a way to talk to the Apple developers so we can see what we can do about it?
Post not yet marked as solved
I have an app that supports screen mirroring by connecting to an external display to show a different UI (not just playing a video). Most of the time it works great, but it occasionally has issues with 4K TVs where the screen and audio are glitchy on the TV. I tell people to go through all the troubleshooting steps from Apple about getting AirPlay to work. Sometimes it helps, but not always, so I'd like to have a more permanent fix.
I am suspicious that it happens because too much data is being sent over AirPlay too frequently. I was hoping to either be able to limit the frequency of updates (maybe lowering the refresh rate somehow) or to decrease the resolution of the view controller that is sent over AirPlay. I have not found anything for the first idea, but regarding the second one, in the docs, it says that you can change the UIScreen's currentMode property (effectively changing the resolution). I have tried doing this in multiple ways, but I have not been able to get that to work--after assigning a different value to currentMode it still has the old value. The docs say to "apply that mode to the UIScreen object before associating the screen with a window." There are two problems here:
That instruction seems to be a little outdated because since iOS 13 the UIScreen is associated with a UIWindowScene instead of UIWindow. Does that make any of this different with how I can/should update the UIScreenMode?
I have tried setting the currentMode inside the observation block for UIScreen.didConnectNotification as well as inside the AppDelegate's application(:configurationForConnecting:options) method. Neither of those have worked, even if the UIScreen is not yet associated with a UIWindowScene.
If I'm going about this incorrectly, please help me correct my mistake. Ultimately I just want to fix the glitchiness with screen mirroring, so I'm happy to do that in whatever way I can.
Post not yet marked as solved
Hi,
With the new WatchOS 9 , the following article watchOS 9 Preview - Apple says : "Fitness+ subscribers who use AirPlay to see their workouts can now get real-time personal metrics from their Apple Watch on compatible displays." .An other article watchOS 9 delivers new ways to stay connected, active, and healthy - Apple (MA)says :"Fitness+ subscribers without Apple TV can now use AirPlay to stream workouts and meditations with on-screen metrics to compatible third-party TVs and devices, allowing them to train anywhere, anytime."
I tried this with my macbook pro 2018 , MacOS Ventura , WatchOS 9 using airplay and it doesn't work .Are macs compatible devices for this feature ? Is it a matter of software update ?
Thank you very much !