AirPlay allows users to wirelessly stream content from their iOS device or Mac to devices and accessories compatible with AirPlay.

AirPlay Documentation

Posts under AirPlay tag

43 Posts
Sort by:
Post not yet marked as solved
0 Replies
304 Views
Since updating to Big Sur on my 2018 MBP I've had nothing but Music app issues, and the issues are far and wide (Missing Artwork, no Artwork Cache for my Apple TVs, and of course AirPlay from the Music app). However, after months of troubleshooting AirPlay issues with Music, I was finally able to determine that if I have EQ turned on, Music will not allow me to AirPlay to any of my Apple TVs. Interestingly, if I turn off EQ I can instantly AirPlay to any of my Apple TVs. Turning the EQ back on while AirPlaying to an Apple TV has no change to the sound, but once I stop AirPlaying, the EQ becomes effective on my MBP about 2 seconds after I stop AirPlaying (you can hear the tonal changes after the EQ enables itself again). Any suggestions??
Posted
by
Post not yet marked as solved
0 Replies
264 Views
Hi, after an automatic update to my AT4, my airplay speakers (airport express + Ampli) is not working properly now. Bad synchro between vidéo and sound. Trying to set that in the settings but it doesn’t work. anybody has the same problem?
Posted
by
Post not yet marked as solved
0 Replies
394 Views
Hello, I would like to develop an app that makes uses of WiFi-Neighbor Awareness Networking (NAN) which connects to an IOT device that i'm building to transfer files from IOS device to the IOT device back and forth. Is there a documentation on how to make use of NAN in IOS? It would be similar to AirPlay or AirDrop. Thanks, Venkee
Posted
by
Post not yet marked as solved
0 Replies
340 Views
Hello, I'm trying to identify the name of the device when AirPlay is active. I would like to use the name for VoiceOver. With the snippet below, all I'm getting is "AirPlay". Here is a snippet: var externalDeviceName: String { let currentRoute = AVAudioSession.sharedInstance().currentRoute var port: String? for output in currentRoute.outputs where output.portType == AVAudioSession.Port.airPlay { port = output.portName } return port ?? "unknown" } Is getting the device name no possible? Or am I just doing it wrong? Thanks!
Posted
by
Post not yet marked as solved
0 Replies
277 Views
We Organization use iPad Air 2 (OS Ver.13.* ~ 14.*). If first contact Apple TV then This iPad can AirPlay Mirroring on a AppleTV 3rd, But, Next time, Any iPad can not AirPlay Mirroring on a AppleTV 3rd(OS Ver.7.8). AP used Aironet 1852i (Cisco Systems). So, We hope to view log into a AirPlay in a any iPad used App. Tell us viewer App for AirPlay logs, Please.
Posted
by
Post not yet marked as solved
0 Replies
262 Views
I think this is a really awesome feature however I feel like it’s missing something. I think it would be really cool if you could talk to the person you are sharing Audio with through your AirPods.
Posted
by
Post not yet marked as solved
0 Replies
286 Views
I have a video player that streams URLs coming from AWS using a signed cookie method. This works fine when streaming locally on the device, but does not work when attempting to AirPlay. I understand the reason why this is failing due to the AirPlay device not receiving the cookie. Is there a way to pass the cookie along with the AirPlay request? Are there other methods available to accomplish streaming via signed URLs?
Posted
by
Post not yet marked as solved
0 Replies
301 Views
Hi, I'm looking to understand more about the options available to hardware/software developers who are seeking to connect WiFi device to iOS devices in a bridging-type arrangement. For example. we are considering connecting one of our devices to an iPhone while maintaining access to the WiFi Network (WLAN) to enable data transfer to a server. Cellular data connections aren't an option. We are open to MFi. Thanks very much.
Posted
by
Post not yet marked as solved
0 Replies
239 Views
With NSNetService deprecated, how to write an IOS app to use Airplay as a server (receiver)? I can't find any details on how to do that using the Network framework which apparently replaces NSNetService.
Posted
by
Post not yet marked as solved
0 Replies
402 Views
Target is view html subtitles in vtt format in TV when AirPlay is running from: <video preload="metadata" x-webkit-airplay="allow" src="a.mp4"> <track kind="subtitles" default="" src="en.vtt" srclang="en"> <track kind="subtitles" src="de.vtt" srclang="de"> <track kind="subtitles" src="es.vtt" srclang="es"> <track kind="subtitles" src="fr.vtt" srclang="fr"> </video> The problem is when AirPlay is enabled video and audio plays on TV, but no subtitles showed. I tryied to include vtt/srt subtitles into the mp4 metadata with ffmpeg and subtitles working with VLC but not working when AirPlay this files. ffmpeg -i 8499.mp4 -i 8499.en.vtt -map 0:v -map 0:a -c copy -map 1 -c:s:0 mov_text -metadata:s:s:0 language=en 8499.en.mp4 ffmpeg -i 8499.mp4 -i 8499.en.srt -map 0:v -map 0:a -c copy -map 1 -c:s:0 srt -metadata:s:s:0 language=en 8499.en.mp4 Also tried to send a .m3u8 with no luck. Any of you know how is the basic format for a simple .m3u8 with a .mp4 and .vtt working when AirPlay? Wich is the standard subtitles solution for AirPlay?
Posted
by
Post not yet marked as solved
0 Replies
368 Views
Why does apple use such a common port like 7000 for airplay? VEX Tournament Manager uses the same port so I cannot airplay and use TM both at the same time.
Posted
by
Post not yet marked as solved
1 Replies
283 Views
Hi can anyone help? I was using airplay fine to transfer videos and photos to my macbook air from my iphone 11 pro, but the last three times I have tried it has not worked, just sits there with waiting, now telling me online that both macbook and iphone need to be on same network but i use my iphone hotspot for my macbook for internet as I am not near a wifi area can anyone poffer suggestions? its annoying having to email videos to myself all the time now
Posted
by
Post not yet marked as solved
0 Replies
284 Views
I am trying to AirPlay video from Firefox browser on iPad to the Apple Tv 4k, it plays fine, but if I pause with the Apple Remote while the ipad’s screen is off, it brings me to the Apple Tv home screen. If i pause while the screen is open, it pauses. why is this an issue with the screen being off?
Posted
by
Post not yet marked as solved
2 Replies
286 Views
Hello community, is there any progress with the airplay problem between Mac with M1 and HomePod mini? There are already many updates since 11.6 but it does not solve the problem, AirPlay stops working and you have to restart or stop the functions in Activity Monitor. Does anyone know anything, thanks.
Posted
by
Post not yet marked as solved
1 Replies
476 Views
Hi, I have my airplay receiver off but I still get the 'Port 5000 is already in use' message, I have already restarted my macbook a few times and still get the message. I know I can change to another port but this port used to work a few weeks ago when the airplay receiver was off.
Posted
by
Post not yet marked as solved
0 Replies
195 Views
What I have tried? UIScreen.screens.count &gt; 1 Ans : Always getting one even though my app is currently Airplay(ing) on my Macbook Setting configuration of WKWebView mediaPlaybackAllowsAirPlay = false allowsAirPlayForMediaPlayback = false Although the airplay button is not present in the player controls but one can still caste using the control panel airplay button by swipping the screen from above. Tried this method used widely to detect Airplay but it only detects in case of screen mirroring no callbacks for Airplay. func isAirplayOn() -&gt; Bool {     let audioSession = AVAudioSession.sharedInstance()     let currentRoute = audioSession.currentRoute     for outputPort in currentRoute.outputs {       if outputPort.portType == AVAudioSession.Port.airPlay {         return true       }     }     return false } So to my vain this also does not work. Let me know how to either detect airplay or disable it on WKWebView's Audio/Video Player. Any help will be highly appreciated.
Posted
by
Post not yet marked as solved
1 Replies
256 Views
I am looking for some guidance on an authentication issue related to AirPlay sessions for HLS streams. Our app currently uses token authentication for our HLS streams, but for AirPlay sessions we only authenticate on the master manifest since the user has already authenticated via the app and However, this does leave open the potential for someone to fake an AirPlay User-Agent and request rendition manifests and segments without authentication. We wouldn't be able to perform the token authentication on the AirPlay since we can't pass the custom header with the token across the AirPlay session boundaries. Support showed me a potential workaround of using " AVAssetResourceLoader", but that would not work in my case, as I don't have the ability to make changes on the iOS app. So that leads me to trying to solve this issue at the CDN level. What I would like to do is try and verify that requests are coming from valid AirPlay devices/sessions by checking for headers that are included specifically for an AirPlay session. Searching online led me to these two possible headers, " X-Apple-Device-ID: X-Apple-Session-ID: " ,but I have not been able to see them when checking on the CDN. Is there any documentation on default/standard headers that would/should appear in AirPlay requests? Thanks
Posted
by
Post not yet marked as solved
0 Replies
178 Views
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.
Posted
by