Is there any way to Hide or Update the AVPlayer controls panel when AirPlay is turned on on the TV device?
In my app I have music playing, through Spotify Music or Apple Music, coach voice playing and a muted Video playing at the same time.
Is it possible to play Video on TV and audio on iPhone or Video and Audio on TV ?
I have an app which is using AVPlayer. It can cast video to apple TV by Airplay when they are in the same network, but if I set apple TV and iphone in different network, the airplay via bluetooth doesn't work well. The screen will flash once and play on local device. Any idea? Thanks
I am working on an iOS app with video streaming. My requirement is that I want to stream video content on Apple TV using Airplay, also streaming should continue even if my phone gets locked / app enters background state.
Thanks in advance.
I'm using an MPMoviePlayerViewController to play a video. I set the instance's moviePlayer.allowsAirPlay to true as it is false by default. However, the Air Play button never shows up in the player controls. Could I have done something wrong, or are there specific guidelines for Air Play? The videos are 640x480, file types AVFileTypeQuickTimeMovie, .mov extension, H264, and PCM audio.
Does an AirPlay device need to be in the vicinity before the button even shows up? I don't have an airplay device, but am an app developer and want to make sure my users can do so if they have such a device.
OK, apparently the way it works is it checks for AirPlay compatible devices when loading, so the button does not appear unless some are available.