Questions tagged [airplay]

Airplay is a streaming technology made by Apple to stream media to multiple devices wirelessly or to the Airplay SDK that offers deployment to many platforms.

Airplay?

Airplay is a Streaming Technology made by Apple Inc to stream media to multiple devices wirelessly or to the Airplay SDK that offers deployment to many platforms including iOS, macOS, tvOS, watchOS, Windows, Linux, Android, Symbian, and more recently, through the Airplay Arcade, all major consoles and handheld devices.


Apple added Airplay in Safari

In 2015 Apple added Airplay for HTML5 Video *default player, And a API for JavaScript Presentation mode, for those who wanna use their own video player.

This can be done by using the following code:

// Safari 9+
if (window.WebKitPlaybackTargetAvailabilityEvent) {
    video.addEventListener('webkitplaybacktargetavailabilitychanged', function(event) {
        switch (event.availability) {
            case "available":
                airPlay.style.display = 'block';
                break;
            default:
                airPlay.style.display = 'none';
        }
        airPlay.addEventListener('click', function() {
            video.webkitShowPlaybackTargetPicker();
        });
    });
}

NOTE: Airplay can be use for both Audio and Video.


In 2016 They added Picture In Picture to the default HTML5 Player, its also use Javascript Presentation mode API.

453 questions
1
vote
1 answer

Developer Guide for Apple TV

I am looking to find the developer's guide for the iPhone to interact with Apple TV. I am not talking about developing apps for Apple TV. I am talking about interacting with the Apple TV through an iPhone application. Can anyone point me in the…
bdparrish
  • 3,216
  • 3
  • 37
  • 58
1
vote
1 answer

AirPlay Meta Data on Apple TV from Mac App

I am using the class MPNowPlayingInfoCenter to set a song's meta data in an iOS app. How do I set it in an OS X app?
1
vote
2 answers

Possible to implement own linux app with Apple AirPlay?

Hi I am trying to build an embedded ARM board with toslink for my hifi amplifier. and the ARM is built with 720Mhz and running ARM version of ubuntu 12.04 linux. Is there any open source module/library to implement Apple Airplay? So I can stream my…
c2h2
  • 11,911
  • 13
  • 48
  • 60
1
vote
3 answers

Play 48 kHz PCM on 44.1 kHz receiver

I have a 48 kHz PCM stream and want to stream it to a 44.1 kHz compatible player (Apple's AirPlay). Someone knows if this "just works because some bytes would get lost", or do I have to do a conversion/down-sampling before? If it not "just works",…
Martin L.
  • 3,006
  • 6
  • 36
  • 60
1
vote
2 answers

MPMoviePlayerController hide AirPlay button

I need to hide AirPlay button in my MPMoviePlayerController even when full mirroring is turned ON. Any ideas? Thanks
JKorevo
  • 11
  • 2
0
votes
1 answer

Detecting iOS AirPlay screen mirroring capabilities

I've developed a user experience in my iOS app for displaying a different view on an external screen connected via AirPlay screen mirroring or HDMI out. I have a setting to enable/disable this feature, allowing the user to choose between this mode…
goldierox
  • 1,085
  • 1
  • 8
  • 23
0
votes
1 answer

iOS Airplay viewcontroller data sychronisation

I've built an iOS 5 iPad app which makes use of a second screen. We have an admin view (on the iPad) and an external view through an HDMI enabled TV connected via the Apple DVI adapter. Both the iPad view and the TV view get the same data updates…
Ben
  • 91
  • 1
  • 5
0
votes
2 answers

Airplay SDK vs Monotouch?

I think the title is pretty self explanatory. The only thing is I come from the background of XCode and Obj-C and I have this project that I have to develop for IOS, Android and BB. So what are my options? which one would you recommend? I am leaning…
Amir J
  • 123
  • 8
0
votes
2 answers

is Second Screen capable of 16:9 via AirPlay over AppleTV in iOS 5.0.1

i think about extending support within one of my apps to handle a second screen via AppleTV. The question is: If i just mirror my App, the nice 46" LCD TV shows only a 4:3 Letterbox Image of my App. Is it possible to use the full 16:9 ratio if i…
MadMaxAPP
  • 1,035
  • 2
  • 16
  • 39
0
votes
2 answers

start point to play audio/video content from IOS device to Apple TV

I m looking for a good tutorial as a start point to play content from an IOS App (Ipad/Iphone, objective C with IOS SDK 5.0 ) to Apple TV , but it looks like Apple doesn't provide that kind of sample (or maybe I miss it) ?
Nico AD
  • 1,657
  • 4
  • 31
  • 51
0
votes
1 answer

Microphone to Airplay

Is it possible to stream audio instantly from the microphone in an iphone to an airplay device. I know this can be done with a delay but could it be done instantly with almost no delay. Basically it needs to stream live audio from microphone to…
Bryan1234321
  • 63
  • 1
  • 6
0
votes
1 answer

AirPlay Mirroring on iPhone 4

My app uses hardware features of the phone not available on the simulator and i'd like to be able to demo the app for my client via screen sharing. Using AirServer, i can AirPlay to my Mac, but my iPhone 4 doesn't support video mirroring out of…
kalperin
  • 509
  • 5
  • 20
0
votes
0 answers

Hide video scrubber and controls for videos casted over AirPlay

I'm looking for a way to cast/share html5 videos over AirPlay without the scrubber and controls displaying on the casted screen. By default, a scrubber and control bar appear for three seconds on every video that's shared over AirPlay, and I don't…
0
votes
0 answers

How to programmatically quit AirPlay mode for HTML5

I am working on a webpage with multiple components with AirPlay enabled. How do I quit a video in AirPlay when user clicks another video. I don't want to have two videos playing at the same time or switch the other video into AirPlay.
0
votes
0 answers

How to keep casting video using airplay using flutter when we switch apps

In flutter I am using https://pub.dev/packages/flutter_to_airplay/example package to cast videos on apple tv , it works fine but when I switch between apps it stops the video and casting . I have tried to unable the background mode in Xcode but…
Ali Hamza
  • 31
  • 1
  • 6