AirPlay 2

RSS for tag

AirPlay 2 allows users to wirelessly send content from any Apple device to a device enabled with AirPlay.

Posts under AirPlay 2 tag

71 Posts

Post

Replies

Boosts

Views

Activity

Can Airplay play local mp4 files on iPhone with AVPlayer?
Can Airplay only play remote videos? Is it possible to play local video files on iPhone?      let player = AVQueuePlayer() //    let url = fileURLOnIPhone // can not airplay, no video, no audio     let url = URL(string: "https://xxxxxx.mp4")! // can be airplay with video and audio     let asset = AVAsset(url: url)     let playerItem = AVPlayerItem(asset: asset)     player.insert(playerItem, after: nil)     let vc = AVPlayerViewController()     vc.player = player     present(vc, animated: true) {       player.play()     }
0
0
1.7k
Sep ’22
Airplay 2 Compatible TVs playback failure for long DVR window Live streams
We deliver 24h DVR window live streams to our customers and having issues AirPlaying those streams to all AirPlay 2 Compatible TV There are 2 cases with different outcomes we found Case 1. start watching a LIVE stream with DVR window more than 14 hours on any iOS device from safari or any App with AVPlayer that supports airplaying Cast to any AirPlay 2 Compatible TV Observe playback fails with an error Domain: Other error Comment: No valid variant enabled Status code: 0 Case 2. start watching a LIVE stream with growing DVR window with initial DVR window less then 13 hours on any iOS device from safari or any App with AVPlayer that supports airplaying Cast to any AirPlay 2 Compatible TV Wait until DVR window grows to 14hours+ Observe airplay disconnected on any AirPlay 2 Compatible TV Observe Safari player saying it is still connected to AirPlay 2 Compatible TV (or crash in case of Mobile app that supports airplaying) Expected behaviour: Stream continues to play on AirPlay 2 Compatible TV regardless of Live stream DVR Window after casting from iOS device Additional info: we use 6 second segments for our live streams issue is not present when airplaying to AppleTV Please let us know how to fix this issue, thanks
0
0
1.5k
Sep ’22
Is it possible to filter device list displayed in AVRoutePickerView?
Our iOS app supports video streaming. We use AVRoutePickerView to give users an option to stream videos on their TV devices using Airplay connection. Videos that we stream have some specifics that make them work without issues only on Apple TV. However there are TVs from other vendors (LG, Samsung, Sony, ...) that also have integrated Airplay support and they also show in the AVRoutePickerView. Is there any way we can filter what AVRoutePickerView displays? Ideally we would like AVRoutePickerView to list only Apple TV devices and not other TVs.
0
0
1.8k
Sep ’22
Unable to AirPlay from iOS app running on M1 Mac
Background: We recently added support for running the iOS version of our video streaming app on M1 MacBooks - as part of this we'd like to be able to AirPlay from within the M1 version of the app to external devices (tvOS, LG, Roku, etc..). AirPlay works as expected when running the iOS app on an iPhone, however, when running the iOS app on an M1 Mac, AirPlay does not work. It attempts to make a connection, but the video player goes black on the sender device and nothing appears on the receiving device. We use AVPlayer as our underlying video implementation. AVRoutePickerView is used to establish the AirPlay connections. Question: Is AirPlay supported for iOS apps running on apple silicon? Are there certain flags that need to be set to enable this? Any idea what may be causing the failed AirPlay connection? Error: This error appears immediately after attempting to AirPlay, unsure if it is related: sendMessageWithDictionary: Failed to get remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.rtcreportingd" UserInfo={NSDebugDescription=connection to service named com.apple.rtcreportingd}```
0
0
1.4k
Aug ’22
How can I get Airplay device play status, like play/pause
Hello, there. I use “AVPlayer.usesExternalPlaybackWhileExternalScreenIsActive = YES” to display video on some TV which support airplay like Apple TV. I often got the play/pause button shows the incorrect state when playing on TV but correctly in App video playing. So I'd like to get the playing state of Airplay Device to change the App play/pause button state, anyone can help?
1
0
1.3k
Aug ’22
MFi Airplay Certification IPv6 Not Registering
How is the Airplay Certification Assistant querying for IPs? I am trying to certify a new MFi device (audio player) and am running through the "Airplay Certification Assistant" test cases. I am passing all but the IPv6, however I can verify that my device indeed has IPv4 and IPv6 addresses assigned. Any ideas to help troubleshoot are welcome, thanks.
0
0
1.2k
Aug ’22
AirPlay App To Apple TV Fullscreen With Controls on iPhone
In my app, there is one small section that displays lyrics to songs (PDFs loaded in a WKWebView). What I want to be able to do, is have a button to mirror that screen to an Apple TV, still control it with the iPhone/iPad, but have it be the full screen, optimized for a TV display. To get going, I have just added a property for a secondWindow UIWindow in AppDelegate, just to test out a few things. The code below is all I have added. It does work well with showing the full contents of the app on the TV, without any black borders, but when I do this, the screen on my iPhone is just completely white. I know the reason for this is because I set the root controller of the 2nd Window to navController which is set up in XIB, and would normally be the root view controller of the iPhone app. I guess what I need to know, is there a way I can simply copy the navController for use with the other UIWindow? Or is there a better way, since all I really need mirrored is on one view that's buried further down inside the hierarchy? At the end of the day, all I really need is to on ONE view, if it detects AirPlay screen, move the WKWebView to the AirPlay device, at full screen, add 4 buttons to phone screen (to navigate through the PDFs next screen, previous screen, next file, previous file) and then put everything back on the phone screen when swiping back to the table view where the choose the initial PDF - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {       window.rootViewController = navController;     [window makeKeyAndVisible]; if ([UIScreen screens].count > 1) { [self setUpSecondWindowForScreen:[UIScreen screens][1]]; } NSNotificationCenter *center = [NSNotificationCenter defaultCenter]; [center addObserver:self selector:@selector(handleScreenDidConnectNotification:) name:UIScreenDidConnectNotification object:nil]; [center addObserver:self selector:@selector(handleScreenDidDisconnectNotification:) name:UIScreenDidDisconnectNotification object:nil]; } - (void)handleScreenDidConnectNotification:(NSNotification*)notification { if (!self.secondWindow) { [self setUpSecondWindowForScreen:[notification object]]; } } - (void)handleScreenDidDisconnectNotification:(NSNotification*)notification { if (self.secondWindow) { self.secondWindow = nil; } } - (void)setUpSecondWindowForScreen:(UIScreen*)screen { self.secondWindow = [[UIWindow alloc] init]; self.secondWindow.screen = screen; self.secondWindow.screen.overscanCompensation = UIScreenOverscanCompensationNone; UIViewController *viewController = [[UIViewController alloc] init]; viewController.view.backgroundColor = [UIColor redColor]; self.secondWindow.rootViewController = navController; [self.secondWindow makeKeyAndVisible]; }
1
0
2.4k
Aug ’22
Watch OS 9 fitness+ onscreen workout metrics macbook pro 2018 ?
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 !
1
0
964
Jul ’22
AirPlay to the Mac
Hi, I'm really excited about the possibility of AirPlay to the Mac. I previously used the feature of Mac OS to be a Target Display for my mid-2012 iMac but was disappointed when I got my M1 Mac as that is no longer a possibility. Is this feature going to support older Macs? Do we have any of the supported model list yet?
1
0
1.3k
May ’22
Issues with live streams and AirPlay
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?
1
0
1.4k
May ’22
Airplay not working with Mac Mini M1 - Apple Silicon on Sony KD-65XH9096
Apple Mac Mini computer with the new Apple Silicon M1 processor and Big Sur 11.0.1, I try to connect it by Airplay to duplicate the screen, the computer detects the TV but when I press the Airplay option, the Sony television turns black with the screen and nothing is seen nor duplicates anything. With the same television a week ago I was using a Mac Mini from the end of 2012 and it worked perfectly. Today with another Macbook Air computer from 2014 and an iPhone from 2018 it works perfectly. I do not know if it is a problem with the new Apple chip or that the television needs a new update for this new processor. Anyone having the same problem? or do you know what might be happening?
10
0
6.9k
May ’22
Screen mirroring from iPhone to Apple TV is glitchy sometimes
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.
0
0
1.6k
May ’22
AirPlay 2: video streaming - logs / debugging
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?
0
0
1.1k
Apr ’22
Bluetooth/airplay issues in macOS Monterey v 12.2
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.
1
0
1.2k
Mar ’22
How to send subtitles vtt when AirPlay a mp4?
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?
0
0
1.4k
Jan ’22
Neighbor Awareness Networking
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
0
0
1.6k
Nov ’21
Can Airplay play local mp4 files on iPhone with AVPlayer?
Can Airplay only play remote videos? Is it possible to play local video files on iPhone?      let player = AVQueuePlayer() //    let url = fileURLOnIPhone // can not airplay, no video, no audio     let url = URL(string: "https://xxxxxx.mp4")! // can be airplay with video and audio     let asset = AVAsset(url: url)     let playerItem = AVPlayerItem(asset: asset)     player.insert(playerItem, after: nil)     let vc = AVPlayerViewController()     vc.player = player     present(vc, animated: true) {       player.play()     }
Replies
0
Boosts
0
Views
1.7k
Activity
Sep ’22
Airplay 2 Compatible TVs playback failure for long DVR window Live streams
We deliver 24h DVR window live streams to our customers and having issues AirPlaying those streams to all AirPlay 2 Compatible TV There are 2 cases with different outcomes we found Case 1. start watching a LIVE stream with DVR window more than 14 hours on any iOS device from safari or any App with AVPlayer that supports airplaying Cast to any AirPlay 2 Compatible TV Observe playback fails with an error Domain: Other error Comment: No valid variant enabled Status code: 0 Case 2. start watching a LIVE stream with growing DVR window with initial DVR window less then 13 hours on any iOS device from safari or any App with AVPlayer that supports airplaying Cast to any AirPlay 2 Compatible TV Wait until DVR window grows to 14hours+ Observe airplay disconnected on any AirPlay 2 Compatible TV Observe Safari player saying it is still connected to AirPlay 2 Compatible TV (or crash in case of Mobile app that supports airplaying) Expected behaviour: Stream continues to play on AirPlay 2 Compatible TV regardless of Live stream DVR Window after casting from iOS device Additional info: we use 6 second segments for our live streams issue is not present when airplaying to AppleTV Please let us know how to fix this issue, thanks
Replies
0
Boosts
0
Views
1.5k
Activity
Sep ’22
Is it possible to filter device list displayed in AVRoutePickerView?
Our iOS app supports video streaming. We use AVRoutePickerView to give users an option to stream videos on their TV devices using Airplay connection. Videos that we stream have some specifics that make them work without issues only on Apple TV. However there are TVs from other vendors (LG, Samsung, Sony, ...) that also have integrated Airplay support and they also show in the AVRoutePickerView. Is there any way we can filter what AVRoutePickerView displays? Ideally we would like AVRoutePickerView to list only Apple TV devices and not other TVs.
Replies
0
Boosts
0
Views
1.8k
Activity
Sep ’22
Unable to AirPlay from iOS app running on M1 Mac
Background: We recently added support for running the iOS version of our video streaming app on M1 MacBooks - as part of this we'd like to be able to AirPlay from within the M1 version of the app to external devices (tvOS, LG, Roku, etc..). AirPlay works as expected when running the iOS app on an iPhone, however, when running the iOS app on an M1 Mac, AirPlay does not work. It attempts to make a connection, but the video player goes black on the sender device and nothing appears on the receiving device. We use AVPlayer as our underlying video implementation. AVRoutePickerView is used to establish the AirPlay connections. Question: Is AirPlay supported for iOS apps running on apple silicon? Are there certain flags that need to be set to enable this? Any idea what may be causing the failed AirPlay connection? Error: This error appears immediately after attempting to AirPlay, unsure if it is related: sendMessageWithDictionary: Failed to get remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.rtcreportingd" UserInfo={NSDebugDescription=connection to service named com.apple.rtcreportingd}```
Replies
0
Boosts
0
Views
1.4k
Activity
Aug ’22
How can I get Airplay device play status, like play/pause
Hello, there. I use “AVPlayer.usesExternalPlaybackWhileExternalScreenIsActive = YES” to display video on some TV which support airplay like Apple TV. I often got the play/pause button shows the incorrect state when playing on TV but correctly in App video playing. So I'd like to get the playing state of Airplay Device to change the App play/pause button state, anyone can help?
Replies
1
Boosts
0
Views
1.3k
Activity
Aug ’22
MFi Airplay Certification IPv6 Not Registering
How is the Airplay Certification Assistant querying for IPs? I am trying to certify a new MFi device (audio player) and am running through the "Airplay Certification Assistant" test cases. I am passing all but the IPv6, however I can verify that my device indeed has IPv4 and IPv6 addresses assigned. Any ideas to help troubleshoot are welcome, thanks.
Replies
0
Boosts
0
Views
1.2k
Activity
Aug ’22
AirPlay App To Apple TV Fullscreen With Controls on iPhone
In my app, there is one small section that displays lyrics to songs (PDFs loaded in a WKWebView). What I want to be able to do, is have a button to mirror that screen to an Apple TV, still control it with the iPhone/iPad, but have it be the full screen, optimized for a TV display. To get going, I have just added a property for a secondWindow UIWindow in AppDelegate, just to test out a few things. The code below is all I have added. It does work well with showing the full contents of the app on the TV, without any black borders, but when I do this, the screen on my iPhone is just completely white. I know the reason for this is because I set the root controller of the 2nd Window to navController which is set up in XIB, and would normally be the root view controller of the iPhone app. I guess what I need to know, is there a way I can simply copy the navController for use with the other UIWindow? Or is there a better way, since all I really need mirrored is on one view that's buried further down inside the hierarchy? At the end of the day, all I really need is to on ONE view, if it detects AirPlay screen, move the WKWebView to the AirPlay device, at full screen, add 4 buttons to phone screen (to navigate through the PDFs next screen, previous screen, next file, previous file) and then put everything back on the phone screen when swiping back to the table view where the choose the initial PDF - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {       window.rootViewController = navController;     [window makeKeyAndVisible]; if ([UIScreen screens].count > 1) { [self setUpSecondWindowForScreen:[UIScreen screens][1]]; } NSNotificationCenter *center = [NSNotificationCenter defaultCenter]; [center addObserver:self selector:@selector(handleScreenDidConnectNotification:) name:UIScreenDidConnectNotification object:nil]; [center addObserver:self selector:@selector(handleScreenDidDisconnectNotification:) name:UIScreenDidDisconnectNotification object:nil]; } - (void)handleScreenDidConnectNotification:(NSNotification*)notification { if (!self.secondWindow) { [self setUpSecondWindowForScreen:[notification object]]; } } - (void)handleScreenDidDisconnectNotification:(NSNotification*)notification { if (self.secondWindow) { self.secondWindow = nil; } } - (void)setUpSecondWindowForScreen:(UIScreen*)screen { self.secondWindow = [[UIWindow alloc] init]; self.secondWindow.screen = screen; self.secondWindow.screen.overscanCompensation = UIScreenOverscanCompensationNone; UIViewController *viewController = [[UIViewController alloc] init]; viewController.view.backgroundColor = [UIColor redColor]; self.secondWindow.rootViewController = navController; [self.secondWindow makeKeyAndVisible]; }
Replies
1
Boosts
0
Views
2.4k
Activity
Aug ’22
Watch OS 9 fitness+ onscreen workout metrics macbook pro 2018 ?
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 !
Replies
1
Boosts
0
Views
964
Activity
Jul ’22
Port 5000 still in use
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.
Replies
1
Boosts
0
Views
4k
Activity
Jun ’22
AirPlay to the Mac
Hi, I'm really excited about the possibility of AirPlay to the Mac. I previously used the feature of Mac OS to be a Target Display for my mid-2012 iMac but was disappointed when I got my M1 Mac as that is no longer a possibility. Is this feature going to support older Macs? Do we have any of the supported model list yet?
Replies
1
Boosts
0
Views
1.3k
Activity
May ’22
Issues with live streams and AirPlay
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?
Replies
1
Boosts
0
Views
1.4k
Activity
May ’22
Airplay not working with Mac Mini M1 - Apple Silicon on Sony KD-65XH9096
Apple Mac Mini computer with the new Apple Silicon M1 processor and Big Sur 11.0.1, I try to connect it by Airplay to duplicate the screen, the computer detects the TV but when I press the Airplay option, the Sony television turns black with the screen and nothing is seen nor duplicates anything. With the same television a week ago I was using a Mac Mini from the end of 2012 and it worked perfectly. Today with another Macbook Air computer from 2014 and an iPhone from 2018 it works perfectly. I do not know if it is a problem with the new Apple chip or that the television needs a new update for this new processor. Anyone having the same problem? or do you know what might be happening?
Replies
10
Boosts
0
Views
6.9k
Activity
May ’22
Screen mirroring from iPhone to Apple TV is glitchy sometimes
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.
Replies
0
Boosts
0
Views
1.6k
Activity
May ’22
AirPlay 2: video streaming - logs / debugging
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?
Replies
0
Boosts
0
Views
1.1k
Activity
Apr ’22
Bluetooth/airplay issues in macOS Monterey v 12.2
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.
Replies
1
Boosts
0
Views
1.2k
Activity
Mar ’22
Apple Tv 4k + AirPlay + AppleRemote
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?
Replies
0
Boosts
0
Views
1.3k
Activity
Feb ’22
Sidecar option missing on my macbook pro 2021
I want to use my ipad 9 as a second display for my macbook pro 2021 and I am missing the sidecar option on my mac. What can I do to connect the two.
Replies
0
Boosts
0
Views
816
Activity
Jan ’22
Port 7000
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.
Replies
0
Boosts
0
Views
1.3k
Activity
Jan ’22
How to send subtitles vtt when AirPlay a mp4?
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?
Replies
0
Boosts
0
Views
1.4k
Activity
Jan ’22
Neighbor Awareness Networking
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
Replies
0
Boosts
0
Views
1.6k
Activity
Nov ’21